Almost done with the OOP

This commit is contained in:
Dano van den Bosch
2024-03-19 16:15:02 +01:00
parent a8f6491736
commit a4b8ae0dca
8 changed files with 114 additions and 27 deletions

View File

@@ -1,19 +1,20 @@
#include <nodeCodeHeader.h>
#include <websockets.h>
#include <WebSocketsClient.h>
nodeReadings esp32Node();
websockets webSocket();
nodeReadings esp32Node;
websockets webSocketClass;
void setup()
{
void setup() {
// put your setup code here, to run once:
esp32Node.setup();
webSocket.websocketSetup();
webSocketClass.websocketSetup();
esp32Node.resetValues();
}
void loop()
{
void loop() {
// put your main code here, to run repeatedly:
esp32Node.loop();
webSocketClass.loop();
}