adafruit / Adafruit_EPD

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

Fix il91874 driver #43

Closed Hutch67 closed 2 years ago

Hutch67 commented 3 years ago

old init was 0x1f, which sets driver to B/W mode - see also http://pmoc98298.pic37.websiteonline.cn/upload/IL91874V3.pdf 8.2.1 new init is 0x0f, which sets driver to B/W/R mode also red buffer should not be inverted, as comment already mentioned setColorBuffer(1, false); // red defaults to not inverted This fixes my code, which is based on examples/EPDTest/EPDTest.ino Without above fixes, black was printed as red and red was not printed (left white).

makermelissa commented 2 years ago

Closing because this was already being correctly set in the panel subclass. #59 just fixed any remaining issues with these displays.