esp32c3 epd

This commit is contained in:
2025-04-20 04:27:27 -04:00
parent b12a2ce196
commit 57fe0c8aef
2 changed files with 6 additions and 3 deletions

View File

@@ -1,3 +1,6 @@
{ {
"idf.port": "/dev/ttyACM0" "idf.port": "/dev/ttyACM0",
"idf.espIdfPath": "/home/abobkov/esp/esp-idf",
"idf.toolsPath": "/home/abobkov/.espressif",
"idf.pythonInstallPath": "/usr/bin/python3"
} }

View File

@@ -25,8 +25,8 @@
//#elif defined(ESP32C3) //#elif defined(ESP32C3)
GxIO_Class io(SPI, /*CS=5*/ 3, /*DC=*/ 1, /*RST=*/ 2); // arbitrary selection of 17, 16 GxIO_Class io(SPI, /*CS=5*/ 7, /*DC=*/ 6, /*RST=*/ 5); // arbitrary selection of 17, 16
GxEPD_Class display(io, /*RST=*/ 2, /*BUSY=*/ 4); // arbitrary selection of (16), 4 GxEPD_Class display(io, /*RST=*/ 5, /*BUSY=*/ 4); // arbitrary selection of (16), 4
//GxIO_Class io(SPI, SS, 22, 21); //GxIO_Class io(SPI, SS, 22, 21);
//GxEPD_Class display(io, 16, 4); //GxEPD_Class display(io, 16, 4);