From aef95a4bba1a1240a2c4937cd9d31246eb694ad9 Mon Sep 17 00:00:00 2001 From: Alexandre B Date: Mon, 15 Jul 2024 00:06:36 -0400 Subject: [PATCH] . --- ESP32-C3-sm_I2C/src/epaper.h | 4 ++-- ESP32-C3-sm_I2C/src/main.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ESP32-C3-sm_I2C/src/epaper.h b/ESP32-C3-sm_I2C/src/epaper.h index 996f6f171..7fcbbd6d6 100644 --- a/ESP32-C3-sm_I2C/src/epaper.h +++ b/ESP32-C3-sm_I2C/src/epaper.h @@ -31,8 +31,8 @@ //GxIO_Class io(SPI, SS, 22, 21); //GxEPD_Class display(io, 16, 4); -GxIO_Class io(SPI, /* CS=SS=3 */ 3, /* DC=1 */ 5, /* RST=2 */ 2); -GxEPD_Class display(io, /* RST=2;9 */ 2, /* BUSY=3;7 */ 7); +GxIO_Class io(SPI, /* CS=SS=5 */ SS, /* DC=1 */ 6, /* RST=2 */ ); +GxEPD_Class display(io, /* RST=2;9 */ 5, /* BUSY=3;7 */ 4); /* #elif defined(ESP32) && (CONFIG_IDF_TARGET_ESP32C3) diff --git a/ESP32-C3-sm_I2C/src/main.cpp b/ESP32-C3-sm_I2C/src/main.cpp index 92a881610..523cc2e91 100644 --- a/ESP32-C3-sm_I2C/src/main.cpp +++ b/ESP32-C3-sm_I2C/src/main.cpp @@ -99,7 +99,7 @@ void setup() { display.setCursor(5, 5); display.setFont(&TomThumb); - display.print("10.100.50.105"); + display.print("10.100.50.xxx"); display.update(); }