Update adafruitio_00_publish_modified.cpp increase interval

beta-mqtt
Alan Johnston 2 years ago committed by GitHub
parent a85858dd93
commit b4a115852e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -90,7 +90,7 @@ void aio_loop(float tlm[]) {
// io.adafruit.com, and processes any incoming data. // io.adafruit.com, and processes any incoming data.
io.run(); io.run();
if ((millis() - time_stamp) < ((2000 * FEEDS) + 1000)) { // 8000) { // Only send if 8 seconds have passed if ((millis() - time_stamp) < ((2000 * (FEEDS+1)) + 1000)) { // 8000) { // Only send if 8 seconds have passed
Serial.print("\nWaiting to send Adafruit IO\n"); Serial.print("\nWaiting to send Adafruit IO\n");
} }
else { else {

Loading…
Cancel
Save

Powered by TurnKey Linux.