Arduino oop adding functions from the original aduino code

This commit is contained in:
Dano van den Bosch
2024-03-13 16:06:10 +01:00
parent c4880ce0e2
commit 10eee12189
4 changed files with 30 additions and 15 deletions

View File

@@ -2,13 +2,16 @@
nodeReadings esp32Node();
void setup() {
// put your setup code here, to run once:
esp32Node.setup();
void setup()
{
// put your setup code here, to run once:
esp32Node.setup();
esp32Node.websocketSetup();
esp32Node.resetValues();
}
void loop() {
// put your main code here, to run repeatedly:
esp32Node.loop();
void loop()
{
// put your main code here, to run repeatedly:
esp32Node.loop();
}