From 99829bb26614461715e7b1fca88e06b1d0620b31 Mon Sep 17 00:00:00 2001 From: Peter Hinch Date: Mon, 22 Jul 2024 14:10:41 +0100 Subject: [PATCH] pico_epaper_42_v2.py: Change default pin to match hardware. --- drivers/epaper/pico_epaper_42_v2.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/epaper/pico_epaper_42_v2.py b/drivers/epaper/pico_epaper_42_v2.py index 8547074..6a02756 100644 --- a/drivers/epaper/pico_epaper_42_v2.py +++ b/drivers/epaper/pico_epaper_42_v2.py @@ -57,8 +57,7 @@ _EPD_WIDTH = const(400) _BWIDTH = _EPD_WIDTH // 8 _EPD_HEIGHT = const(300) -_RST_PIN = 12 -# changed default to 7, as this can be confusing on pico -- pin 8 for SPI1 is the Rx, which overrides DC pin if miso is set to none +_RST_PIN = 12 # Pin defaults match wiring of Pico socket _DC_PIN = 8 _CS_PIN = 9 _BUSY_PIN = 13