Добавляем класс IoTRTC для организации взаимодействия с библиотекой iarduino_RTC

This commit is contained in:
2022-04-24 11:57:38 +03:00
parent 39c83aa328
commit f563a773e1
4 changed files with 65 additions and 2 deletions

View File

@@ -54,7 +54,7 @@ void asyncUdpInit() {
//будем отправлять каждые 30 секунд презентацию данного устройства
ts.add(
UDPP, 60000, [&](void*) {
UDP, 60000, [&](void*) { //UDPP
if (isNetworkActive()) {
SerialPrint("i", F("UDP"), F("Broadcast device presentation"));
asyncUdp.broadcastTo(getThisDevice().c_str(), 4210);