23 lines
414 B
C++
23 lines
414 B
C++
#include <nodeCodeHeader.h>
|
|
#include "websockets.h"
|
|
// #include <WebSocketsClient.h>
|
|
|
|
|
|
|
|
nodeReadings esp32Node;
|
|
websockets webSocketClass;
|
|
|
|
void setup() {
|
|
// put your setup code here, to run once:
|
|
esp32Node.setup();
|
|
webSocketClass.websocketSetup();
|
|
esp32Node.resetValues();
|
|
}
|
|
|
|
void loop() {
|
|
// put your main code here, to run repeatedly:
|
|
esp32Node.loop();
|
|
webSocketClass.loop();
|
|
|
|
}
|