mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-09 22:21:15 +00:00
ESP32-C3 ePaper
This commit is contained in:
@@ -65,11 +65,11 @@ void setup() {
|
|||||||
display.print("DATA BOARD");
|
display.print("DATA BOARD");
|
||||||
//display.update();
|
//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
|
// 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_BLACK);
|
display.drawRect(5, 155, display.width()-10, display.height()-160, GxEPD_RED);
|
||||||
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