Almost done with the OOP
This commit is contained in:
@@ -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:
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user