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,13 +1,21 @@
#ifndef websockerts_h
#define websockerts_h
#include <WebSocketsClient.h>
#include "Arduino.h"
#include "websocketsHeader.h"
#define USE_SERIAL Serial
// WiFiMulti WiFiMulti;
class websockets {
public:
websockets();
void hexdump(const void *mem, uint32_t len, uint8_t cols = 16);
void websocketSetup();
void loop();
void webSocketEvent(WStype_t type, uint8_t * payload, size_t length);
private:
};