adafruit / Adafruit_CircuitPython_HT16K33

Adafruit CircuitPython driver for the HT16K33, a LED matrix driver IC.
MIT License
41 stars 29 forks source link

Disable matrix refresh during update using image() (Fixes #78) #86

Closed SAK917 closed 3 years ago

SAK917 commented 3 years ago

In both Matrix8x8.image() and Matrix 8x8x2.image(), set temporary variable to current auto_write state and then set auto_write to False before entering loop to update pixels in the matrix. Once updated, restore auto_write state.

For consistency, used the same temporary variable naming as was done in Matrix8x8.shift().

I hope I understood the request correctly... please don't hesitate to let me know if I should do anything differently!

SAK917 commented 3 years ago

Hi @makermelissa , I just wanted to follow up to see if there is anything I need to do to get this PR across the finish line? Just let me know and I will be happy to make any changes you require.

makermelissa commented 3 years ago

Thanks for following up. I think I missed the notification.