From c58822689889675e8d17bd008bf387a56c820180 Mon Sep 17 00:00:00 2001 From: YXZhu Date: Thu, 15 Jan 2026 10:57:37 +0800 Subject: [PATCH] Swap the RES and DC pins to solve the problem of no display on some ESP32 development boards. It's quite strange. --- .../EpaperModuleTest_Arduino_ESP32.ino | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Example/EpaperModuleTest_Arduino_ESP32/EpaperModuleTest_Arduino_ESP32.ino b/Example/EpaperModuleTest_Arduino_ESP32/EpaperModuleTest_Arduino_ESP32.ino index 97bacbe..7188265 100644 --- a/Example/EpaperModuleTest_Arduino_ESP32/EpaperModuleTest_Arduino_ESP32.ino +++ b/Example/EpaperModuleTest_Arduino_ESP32/EpaperModuleTest_Arduino_ESP32.ino @@ -10,8 +10,8 @@ // ESP32 CS(SS)=5,SCL(SCK)=18,SDA(MOSI)=23,BUSY=4,RES(RST)=17,DC=16 #define CS_PIN (5) #define BUSY_PIN (4) -#define RES_PIN (17) -#define DC_PIN (16) +#define RES_PIN (16) +#define DC_PIN (17) // 1.54'' EPD Module //GxEPD2_BW display(GxEPD2_154_D67(/*CS=5*/ CS_PIN, /*DC=*/ DC_PIN, /*RES=*/ RES_PIN, /*BUSY=*/ BUSY_PIN)); // GDEH0154D67 200x200, SSD1681 @@ -25,7 +25,7 @@ //GxEPD2_3C display(GxEPD2_290_C90c(/*CS=5*/ CS_PIN, /*DC=*/ DC_PIN, /*RES=*/ RES_PIN, /*BUSY=*/ BUSY_PIN)); // GDEM029C90 128x296, SSD1680 // 3.7'' EPD Module -GxEPD2_BW display(GxEPD2_370_GDEY037T03(/*CS=5*/ CS_PIN, /*DC=*/ DC_PIN, /*RES=*/ RES_PIN, /*BUSY=*/ BUSY_PIN)); // GDEY037T03 240x416, UC8253 +//GxEPD2_BW display(GxEPD2_370_GDEY037T03(/*CS=5*/ CS_PIN, /*DC=*/ DC_PIN, /*RES=*/ RES_PIN, /*BUSY=*/ BUSY_PIN)); // GDEY037T03 240x416, UC8253 // 4.2'' EPD Module //GxEPD2_BW display(GxEPD2_420_GDEY042T81(/*CS=5*/ CS_PIN, /*DC=*/ DC_PIN, /*RES=*/ RES_PIN, /*BUSY=*/ BUSY_PIN)); // 400x300, SSD1683