mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-07 22:56:11 +00:00
.
This commit is contained in:
7
ESP32_ePaperDisplay-Node/.vscode/settings.json
vendored
Normal file
7
ESP32_ePaperDisplay-Node/.vscode/settings.json
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"idf.portWin": "COM19",
|
||||
"idf.adapterTargetName": "esp32",
|
||||
"idf.openOcdConfigs": [
|
||||
"board/esp32-bridge.cfg"
|
||||
]
|
||||
}
|
@@ -1,12 +1,21 @@
|
||||
#include <Arduino.h>
|
||||
//#include <Fonts/FreeMonoBold9pt7b.h>
|
||||
#include "ePaper.h"
|
||||
|
||||
// put function declarations here:
|
||||
int myFunction(int, int);
|
||||
|
||||
void setup() {
|
||||
// put your setup code here, to run once:
|
||||
int result = myFunction(2, 3);
|
||||
|
||||
Serial.begin(115200);
|
||||
Serial.println("Running setup ...");
|
||||
|
||||
display.fillScreen(GxEPD_WHITE);
|
||||
display.setTextColor(GxEPD_BLACK);
|
||||
display.setFont(&FreeMonoBold9pt7b);
|
||||
display.setCursor(10, 20);
|
||||
display.print("ESP32 Display Node");
|
||||
display.update();
|
||||
}
|
||||
|
||||
void loop() {
|
||||
|
Reference in New Issue
Block a user