diff --git a/KorMYS/src/main.cpp b/KorMYS/src/main.cpp index 3d601e0..fabf80c 100644 --- a/KorMYS/src/main.cpp +++ b/KorMYS/src/main.cpp @@ -141,6 +141,10 @@ void loop() wait(100); send(msgHum10.set(p10, 1)); } + if (++cSec > 19){ + cSec = 0; + sendHeartbeat(); + } } }