Update adafruitio_00_publish_modified.cpp changed to FEEDS + 1

beta-mqtt
Alan Johnston 2 years ago committed by GitHub
parent 9a86fd90ce
commit 1e8ec55d86
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.run();
if ((millis() - time_stamp) < (2000 * FEEDS)) { // 8000) { // Only send if 8 seconds have passed
if ((millis() - time_stamp) < (2000 * (FEEDS+1))) { // 8000) { // Only send if 8 seconds have passed
Serial.print("\nWaiting to send Adafruit IO\n");
}
else {

Loading…
Cancel
Save

Powered by TurnKey Linux.