Исправлены ошибки взаимодействия приложения с лампой; учтены "особенности" работы библиотечного UDP клиента

This commit is contained in:
gunner47
2019-08-03 23:02:06 +03:00
parent 7e8dbfd8ad
commit 4a5245aed7
4 changed files with 33 additions and 21 deletions

View File

@@ -186,6 +186,12 @@ void sendCurrent()
#else
inputBuffer += "0";
#endif
inputBuffer += " ";
#ifdef USE_NTP
inputBuffer += timeClient.getFormattedTime();
#else
inputBuffer += String(millis());
#endif
#ifdef GENERAL_DEBUG
Serial.println(inputBuffer);