mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-08 14:40:52 +00:00
ESP32-C3 ePaper
This commit is contained in:
@@ -47,6 +47,13 @@ void setup() {
|
|||||||
display.setFont(&TomThumb);
|
display.setFont(&TomThumb);
|
||||||
display.print("10.100.50.105");
|
display.print("10.100.50.105");
|
||||||
display.update();
|
display.update();
|
||||||
|
|
||||||
|
// Display fonts
|
||||||
|
display.setCursor(10, 10);
|
||||||
|
display.setFont(&Picopixel);
|
||||||
|
display.print("Picopixel");
|
||||||
|
display.update();
|
||||||
|
|
||||||
// Add UI elements
|
// Add UI elements
|
||||||
// Draw axis: (x1,y1) @ 5, 100 and width-2*margin_x height-2*margin_y
|
// 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_RED);
|
display.drawRect(5, 155, display.width()-10, display.height()-160, GxEPD_RED);
|
||||||
|
Reference in New Issue
Block a user