adafruit / Adafruit_EPD

e-paper display driver for Arduino
140 stars 56 forks source link

Fix red inversion regardless of reset pin value #59

Closed makermelissa closed 2 years ago

makermelissa commented 2 years ago

Fixes #52. This fixes a weird error where when the reset pin is passed as anything other than -1, the colors invert.

ladyada commented 2 years ago

ermm this seems like a bandaid patch for an issue we haven't determined - it doesn't "make sense" - could be we are not really resetting or something?

makermelissa commented 2 years ago

Fair enough. I'll dive in a bit deeper tomorrow.

makermelissa commented 2 years ago

Ok, it had a missing init code (which I found in the IL91874 display file). After adding it in and getting the buffer bites correct, it works just fine regardless of the reset pin value.

ladyada commented 2 years ago

thats better!

makermelissa commented 2 years ago

Thanks