0

Time Feed?
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Time Feed?

by msk on Sat May 05, 2018 8:34 pm

Using the older Adafruit MQTT library I was able to subscribe to the time by:
Adafruit_MQTT_Subscribe timefeed = Adafruit_MQTT_Subscribe(&mqtt, "time/seconds");

How do I access this feed using the newer Adafruit IO library?
(the one that only calls io.run() at the beginning of the loop)

I am asking because:
1- It is easier to use this library than the MQTT library.
2-I need to use feed->get(); at the end of my setup() for another feed.

THANKS SO MUCH!
--MK

msk
 
Posts: 9
Joined: Tue Sep 10, 2013 9:57 pm

Please be positive and constructive with your questions and comments.