From 1cc6b366d99f595d5a21b1621379597c8a6d51a5 Mon Sep 17 00:00:00 2001 From: Alexander Bobkov Date: Fri, 25 Apr 2025 02:59:42 -0400 Subject: [PATCH] ESP32-C3 ePaper --- ESP32-C3_ePaper/src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ESP32-C3_ePaper/src/main.cpp b/ESP32-C3_ePaper/src/main.cpp index edcaf4691..ef83a42c4 100644 --- a/ESP32-C3_ePaper/src/main.cpp +++ b/ESP32-C3_ePaper/src/main.cpp @@ -64,11 +64,11 @@ void setup() { display.setFont(&FreeSans9pt7b); display.print("Files Storage"); display.setCursor(10, 160); - display.setFont(&FreeSerif9pt7b); + display.setFont(&FreeSans9pt7b); display.print("Archives Storage"); // Display text nicely centered on the display - display.setFont(&FreeSerif12pt7b); // Specify the font family & size + display.setFont(&Freesans12pt7b); // Specify the font family & size display.getTextBounds("SERVER DASHBOARD", 10, 100, &tbx, &tby, &tbw, &tbh); // Request width of text to be displayed display.setCursor((display.width() - tbw) / 2, 100); // Calculate x-coordinate value display.print("SERVER DASHBOARD"); // Print the text