Finished web socket communication
This commit is contained in:
@@ -184,7 +184,7 @@ void WebService::update()
|
|||||||
server.handleClient();
|
server.handleClient();
|
||||||
webSocket.loop();
|
webSocket.loop();
|
||||||
|
|
||||||
// Brodcase updates once per second
|
// Brodcast updates once per second
|
||||||
static unsigned long lastUpdate = 0;
|
static unsigned long lastUpdate = 0;
|
||||||
|
|
||||||
if (millis() - lastUpdate >= 1000)
|
if (millis() - lastUpdate >= 1000)
|
||||||
|
|||||||
Reference in New Issue
Block a user