Closed blkirk closed 4 years ago
Can someone provide an example of how to call AdafruitIO without having it manage your wifi/ethernet connection? (Assume that I have a connection and it's already up.)
non-working Example:
AdafruitIO_Ethernet io(IO_USERNAME, IO_KEY); AdafruitIO_Feed pina0 = io.feed("limetreea0"); AdafruitIO_Feed pind7 = io.feed("limetread7"); ...etc...
This might be the answer, nulls :
AdafruitIO_WiFi io(IO_USERNAME, IO_KEY, NULL, NULL);
Can someone provide an example of how to call AdafruitIO without having it manage your wifi/ethernet connection? (Assume that I have a connection and it's already up.)
non-working Example:
include "AdafruitIO.h"
define IO_USERNAME "XXXXXX"
define IO_KEY "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
AdafruitIO_Ethernet io(IO_USERNAME, IO_KEY); AdafruitIO_Feed pina0 = io.feed("limetreea0"); AdafruitIO_Feed pind7 = io.feed("limetread7"); ...etc...