ESP32-C3 ePaper

This commit is contained in:
2025-04-25 03:11:43 -04:00
parent 2aa351a543
commit adc2c64858

View File

@@ -71,7 +71,7 @@ void setup() {
display.print("Backups");
// Display text nicely centered on the display
display.setFont(&FreeSans12pt7b); // Specify the font family & size
display.setFont(&FreeSansBold12pt7b); // 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