ESP32-C3 ePaper

This commit is contained in:
2025-04-25 03:43:16 -04:00
parent b02296bc70
commit bdfb6abba0

View File

@@ -83,8 +83,8 @@ display.print("Free: 25%");
display.fillRect(str_x+100, str_y-str_inc, 100*0.25, str_inc, GxEPD_BLACK);
// Backups bar
display.drawRect(str_x+100, str_y-1, 100, str_inc, GxEPD_BLACK);
display.fillRect(str_x+100, str_y-1, 100*0.75, str_inc, GxEPD_BLACK);
display.fillRect(str_x+100+100*0.75, str_y-1, 100*0.25, str_inc, GxEPD_RED);
display.fillRect(str_x+100, str_y-1, 100*0.75, str_inc, GxEPD_RED);
//display.fillRect(str_x+100+100*0.75, str_y-1, 100*0.25, str_inc, GxEPD_RED);
// Display text nicely centered on the display
display.setTextColor(GxEPD_WHITE);