mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-08 07:36:11 +00:00
ESP32-C3 ePaper
This commit is contained in:
@@ -77,14 +77,14 @@ void setup() {
|
|||||||
display.setFont(&FreeMonoBold9pt7b);
|
display.setFont(&FreeMonoBold9pt7b);
|
||||||
display.print("Backups");
|
display.print("Backups");
|
||||||
display.setCursor(str_x, str_y+str_inc+250);
|
display.setCursor(str_x, str_y+str_inc+250);
|
||||||
display.print("Free: 25%");
|
display.print("Free: 25%");
|
||||||
// Files bar
|
// 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.fillRect(str_x+100, str_y-str_inc, 100*0.25, str_inc, GxEPD_BLACK);
|
display.fillRect(str_x+100, str_y-str_inc, 100*0.25, str_inc, GxEPD_BLACK);
|
||||||
// Backups bar
|
// Backups bar
|
||||||
display.drawRect(str_x+100, str_y-1, 100, str_inc, GxEPD_BLACK);
|
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, 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.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 text nicely centered on the display
|
||||||
display.setTextColor(GxEPD_WHITE);
|
display.setTextColor(GxEPD_WHITE);
|
||||||
|
Reference in New Issue
Block a user