ESP32-C3 ePaper

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

View File

@@ -77,14 +77,14 @@ void setup() {
display.setFont(&FreeMonoBold9pt7b);
display.print("Backups");
display.setCursor(str_x, str_y+str_inc+250);
display.print("Free: 25%");
display.print("Free: 25%");
// Files bar
display.drawRect(str_x+100, str_y-str_inc, 100, str_inc, GxEPD_BLACK);
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);