ESP32-C3 ePaper

This commit is contained in:
2025-04-25 00:10:50 -04:00
parent f56e119a18
commit 9f01dcf7b0

View File

@@ -65,11 +65,11 @@ void setup() {
display.print("DATA BOARD");
//display.update();
display.drawBitmap(200, 200, gridicons_bug, 50, 50, GxEPD_RED);
display.drawBitmap(200, 200, gridicons_bug, 50, 50, GxEPD_BLACK);
// Add UI elements
// Draw axis: (x1,y1) @ 5, 100 and width-2*margin_x height-2*margin_y
display.drawRect(5, 155, display.width()-10, display.height()-160, GxEPD_BLACK);
display.drawRect(5, 155, display.width()-10, display.height()-160, GxEPD_RED);
display.setFont(&TomThumb);
for (int i = 0; i < display.width()-10; i+=50) {
display.setCursor(i, display.height());