ESP32-C3 ePaper

This commit is contained in:
2025-04-25 03:23:20 -04:00
parent 6f81bede41
commit 6899e73db0

View File

@@ -63,14 +63,17 @@ void setup() {
//display.drawRect(0, 0, display.width()-24, 24, GxEPD_BLACK); //display.drawRect(0, 0, display.width()-24, 24, GxEPD_BLACK);
// Storage Information Section /* Storage Information Section
*/
int str_x=10, str_y=50, str_inc=15; int str_x=10, str_y=50, str_inc=15;
// Display storage names
display.setCursor(str_x, str_y); display.setCursor(str_x, str_y);
display.setFont(&FreeMonoBold9pt7b); display.setFont(&FreeMonoBold9pt7b);
display.print("Files"); display.print("Files");
display.setCursor(str_x, str_y+str_inc); display.setCursor(str_x, str_y+str_inc);
display.setFont(&FreeMonoBold9pt7b); display.setFont(&FreeMonoBold9pt7b);
display.print("Backups"); display.print("Backups");
display.drawRect();
// Display text nicely centered on the display // Display text nicely centered on the display
display.setTextColor(GxEPD_WHITE); display.setTextColor(GxEPD_WHITE);