mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-13 22:14:59 +00:00
ESP32-C3 ePaper
This commit is contained in:
@@ -69,7 +69,7 @@ void setup() {
|
|||||||
|
|
||||||
// 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_BLACK);
|
||||||
display.setFont(&TomThumb);
|
display.setFont(&TomThumb);
|
||||||
for (int i = 0; i < display.width()-10; i+=50) {
|
for (int i = 0; i < display.width()-10; i+=50) {
|
||||||
display.setCursor(i, display.height());
|
display.setCursor(i, display.height());
|
||||||
|
Reference in New Issue
Block a user