new format
This commit is contained in:
parent
fb19eea29f
commit
c4002d039b
1 changed files with 3 additions and 1 deletions
|
|
@ -13,7 +13,9 @@ rst = digitalio.DigitalInOut(board.D7)
|
|||
busy = digitalio.DigitalInOut(board.D6)
|
||||
|
||||
# give them all to our driver
|
||||
display = Adafruit_IL0373(152, 152, rst, dc, busy, srcs, ecs, spi)
|
||||
display = Adafruit_IL0373(152, 152, spi,
|
||||
cs_pin=ecs, dc_pin=dc, sramcs_pin=srcs,
|
||||
rst_pin=rst, busy_pin=busy)
|
||||
|
||||
# clear the buffer
|
||||
display.fill(Adafruit_EPD.WHITE)
|
||||
|
|
|
|||
Loading…
Reference in a new issue