Добавил библиотечные веб сокеты, проверенная версия.

This commit is contained in:
Dmitry Borisenko
2021-12-23 23:47:13 +01:00
parent 401aaa727e
commit a19a12c7d4
14 changed files with 93 additions and 61 deletions

View File

@@ -24,6 +24,10 @@ void setup() {
standWebServerFiles();
#endif
#ifdef STANDARD_WEB_SOCKETS
standWebSocketsInit();
#endif
//подключаемся к роутеру
routerConnect();
@@ -48,4 +52,8 @@ void loop() {
#ifdef STANDARD_WEB_SERVER
HTTP.handleClient();
#endif
#ifdef STANDARD_WEB_SOCKETS
standWebSocket.loop();
#endif
}