Добавил массив виджетов и реализовал их отправку

This commit is contained in:
Dmitry Borisenko
2022-01-17 00:06:50 +01:00
parent ee322ce185
commit 775d7a11ad
39 changed files with 6648 additions and 209 deletions

View File

@@ -38,7 +38,8 @@ void setup() {
mqttInit();
//создаем объект класса выгружающего json массив из файла
mySendJson = new SendJson;
sendConfigJson = new SendJson;
sendWigdetsJson = new SendJson;
configure("/config.json");
@@ -61,7 +62,8 @@ void loop() {
ts.update();
//отправка json
if (mySendJson) mySendJson->loop();
if (sendConfigJson) sendConfigJson->loop();
if (sendWigdetsJson) sendWigdetsJson->loop();
#ifdef STANDARD_WEB_SERVER
//обработка web сервера