ESP32-C3 ePaper

This commit is contained in:
2025-04-25 03:31:35 -04:00
parent 974ceb76e3
commit c589aeb2d3

View File

@@ -74,8 +74,11 @@ void setup() {
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");
// Files bar
display.drawRect(str_x+100, str_y-str_inc, 100, str_inc, GxEPD_BLACK); display.drawRect(str_x+100, str_y-str_inc, 100, str_inc, GxEPD_BLACK);
display.drawRect(str_x+100, str_y+str_inc*1, 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+str_inc, 100, str_inc, GxEPD_BLACK);
// Display text nicely centered on the display // Display text nicely centered on the display
display.setTextColor(GxEPD_WHITE); display.setTextColor(GxEPD_WHITE);