adafruit / Adafruit_EPD

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

Can use it for 2.7inch E-paper HAT and RP2040 pico. #83

Closed phamhuyvn closed 1 month ago

phamhuyvn commented 1 month ago

I make it connect with each other but i not sure the driver is ILI or not. The panel refesh with noise.

`from adafruit_epd.epd import Adafruit_EPD from adafruit_epd.il0373 import Adafruit_IL0373 spi2 = busio.SPI(board.GP10, board.GP11, board.GP12) ecs = digitalio.DigitalInOut(board.GP8) dc = digitalio.DigitalInOut(board.GP25)

srcs = digitalio.DigitalInOut(board.D10) # can be None to use internal memory

rst = digitalio.DigitalInOut(board.GP17) # can be None to not use this pin busy = digitalio.DigitalInOut(board.GP24) # can be None to not use this pin

display = Adafruit_IL0398(176, 264, spi2,cs_pin=ecs, dc_pin=dc, sramcs_pin=None, rst_pin=rst, busy_pin=busy)`

makermelissa commented 1 month ago

Looks like this was replaced by https://github.com/adafruit/Adafruit_CircuitPython_EPD/issues/82.