From c4002d039b77d48cc8800a56e22eaef1f477c1bc Mon Sep 17 00:00:00 2001 From: ladyada Date: Sat, 5 Jan 2019 20:33:51 -0500 Subject: [PATCH] new format --- examples/epd_simpletest.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/epd_simpletest.py b/examples/epd_simpletest.py index 7039ae6..77f1c48 100644 --- a/examples/epd_simpletest.py +++ b/examples/epd_simpletest.py @@ -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)