adafruit / Adafruit_CircuitPython_EPD

e paper driver for circuit python
MIT License
41 stars 19 forks source link

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

Open phamhuyvn opened 3 months ago

phamhuyvn commented 3 months 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)`

tannewt commented 3 months ago

Are you referring to the waveshare 2.7inch E-paper HAT? It'd be better to ask Waveshare for support.