Added heartbeat
This commit is contained in:
@@ -141,6 +141,10 @@ void loop()
|
|||||||
wait(100);
|
wait(100);
|
||||||
send(msgHum10.set(p10, 1));
|
send(msgHum10.set(p10, 1));
|
||||||
}
|
}
|
||||||
|
if (++cSec > 19){
|
||||||
|
cSec = 0;
|
||||||
|
sendHeartbeat();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user