mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-08 11:10:53 +00:00
ESP32-C3 ePaper
This commit is contained in:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user