Update adafruitio_00_publish_modified.cpp send tlm[1]

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

@ -63,11 +63,13 @@ void aio_loop(float tlm[]) {
io.run(); io.run();
// save count to the 'counter' feed on Adafruit IO // save count to the 'counter' feed on Adafruit IO
Serial.print("sending -> "); Serial.print("\nsending to Adafruit IO -> ");
Serial.println(count); // Serial.println(count);
// counter->save(count); // counter->save(count);
Serial.println(tlm[0]);
counter->save(tlm[0]); counter->save(tlm[0]);
Serial.println(tlm[1]);
counter->save(tlm[1]);
// increment the count by 1 // increment the count by 1
count++; count++;

Loading…
Cancel
Save

Powered by TurnKey Linux.