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