From 6899e73db016ac97b924e1f4702c526039af2e23 Mon Sep 17 00:00:00 2001 From: Alexander Bobkov Date: Fri, 25 Apr 2025 03:23:20 -0400 Subject: [PATCH] ESP32-C3 ePaper --- ESP32-C3_ePaper/src/main.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ESP32-C3_ePaper/src/main.cpp b/ESP32-C3_ePaper/src/main.cpp index 549a6e496..53d16f1ec 100644 --- a/ESP32-C3_ePaper/src/main.cpp +++ b/ESP32-C3_ePaper/src/main.cpp @@ -63,14 +63,17 @@ void setup() { //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; + // Display storage names display.setCursor(str_x, str_y); display.setFont(&FreeMonoBold9pt7b); display.print("Files"); display.setCursor(str_x, str_y+str_inc); display.setFont(&FreeMonoBold9pt7b); display.print("Backups"); + display.drawRect(); // Display text nicely centered on the display display.setTextColor(GxEPD_WHITE);