diff --git a/src/main.cpp b/src/main.cpp index bbab52b..420ad8b 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -23,7 +23,16 @@ void setup() { ArduinoOTA.begin(); } +long lastmillis = 0; +bool stateled = false; + void loop() { Homie.loop(); ArduinoOTA.handle(); + if ((lastmillis+500)