Skip to content

Commit 3669de5

Browse files
authored
Merge pull request #933 from brentru/patch-treat-tracker
Update Treat Tracker Code for valid Adafruit IO Publish
2 parents 80da741 + af2a468 commit 3669de5

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

Track_Your_Treats/Track_Your_Treats_FONA808/Track_Your_Treats_FONA808.ino

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,8 @@ uint32_t logCounter = 0; // Counter until n
6666
// Publishing feed setup (you don't need to change this):
6767
// Note that the path ends in '/csv', this means a comma separated set of values
6868
// can be pushed to the feed, including location data like lat, long, altitude.
69-
const char PATH_FEED[] PROGMEM = AIO_USERNAME "/feeds/" PATH_FEED_NAME "/csv";
70-
Adafruit_MQTT_Publish path = Adafruit_MQTT_Publish(&mqtt, PATH_FEED);
71-
const char GOOD_CANDY_FEED[] PROGMEM = AIO_USERNAME "/feeds/" GOOD_CANDY_FEED_NAME "/csv";
72-
Adafruit_MQTT_Publish goodCandy = Adafruit_MQTT_Publish(&mqtt, GOOD_CANDY_FEED);
73-
69+
Adafruit_MQTT_Publish path = Adafruit_MQTT_Publish(&mqtt, AIO_USERNAME "/feeds/treat-path/csv");
70+
Adafruit_MQTT_Publish goodCandy = Adafruit_MQTT_Publish(&mqtt, AIO_USERNAME "/feeds/treat-good-candy/csv");
7471

7572
// Halt function called when an error occurs. Will print an error and stop execution while
7673
// doing a fast blink of the LED. If the watchdog is enabled it will reset after 8 seconds.

0 commit comments

Comments
 (0)