22
33// visit io.adafruit.com if you need to create an account,
44// or if you need your Adafruit IO key.
5- #define IO_USERNAME "your_username"
6- #define IO_KEY "your_key"
5+ #define IO_USERNAME "your_username"
6+ #define IO_KEY "your_key"
77
88/******************************* WIFI **************************************/
99
1414// - Feather M0 WiFi -> https://www.adafruit.com/products/3010
1515// - Feather WICED -> https://www.adafruit.com/products/3056
1616
17- // #define WIFI_SSID "your_ssid"
18- // #define WIFI_PASS "your_pass"
17+ #define WIFI_SSID "your_ssid"
18+ #define WIFI_PASS "your_pass"
1919
2020// comment out the following two lines if you are using fona or ethernet
21- // #include "AdafruitIO_WiFi.h"
22- // AdafruitIO_WiFi io(IO_USERNAME, IO_KEY, WIFI_SSID, WIFI_PASS);
21+ #include "AdafruitIO_WiFi.h"
22+ AdafruitIO_WiFi io (IO_USERNAME , IO_KEY , WIFI_SSID , WIFI_PASS );
2323
2424/******************************* AirLift **************************************/
25+
2526// the AdafruitIO_AirLift client will work with the following boards:
26- // - Adafruit AirLift Breakout -> https://www.adafruit.com/product/4201
2727// - Adafruit PyPortal -> https://www.adafruit.com/product/4116
28+ // - Adafruit Metro M4 Express AirLift Lite -> https://www.adafruit.com/product/4000
2829
29- // https://github.com/brentru/Adafruit_IO_Arduino/tree/airlift-standalone
30- // commit e638a25
31-
32- #define WIFI_SSID "your_ssid"
33- #define WIFI_PASS "your_pass"
34- #include "AdafruitIO_AIRLIFT.h"
35- AdafruitIO_AIRLIFT io (IO_USERNAME , IO_KEY , WIFI_SSID , WIFI_PASS );
36-
37- // Optionally configure the pins used for the AirLift connection
38- // io.airliftPins(11, 10, 9);
30+ // uncomment the following two lines for AirLift,
31+ // and comment out the AdafruitIO_WiFi client in the WIFI section
32+ // #include "AdafruitIO_AIRLIFT.h"
33+ // AdafruitIO_AIRLIFT io(IO_USERNAME, IO_KEY, WIFI_SSID, WIFI_PASS);
3934
4035/******************************* FONA **************************************/
4136
@@ -47,7 +42,6 @@ AdafruitIO_AIRLIFT io(IO_USERNAME, IO_KEY, WIFI_SSID, WIFI_PASS);
4742// #include "AdafruitIO_FONA.h"
4843// AdafruitIO_FONA io(IO_USERNAME, IO_KEY);
4944
50-
5145/**************************** ETHERNET ************************************/
5246
5347// the AdafruitIO_Ethernet client will work with the following boards:
@@ -56,4 +50,4 @@ AdafruitIO_AIRLIFT io(IO_USERNAME, IO_KEY, WIFI_SSID, WIFI_PASS);
5650// uncomment the following two lines for ethernet,
5751// and comment out the AdafruitIO_WiFi client in the WIFI section
5852// #include "AdafruitIO_Ethernet.h"
59- // AdafruitIO_Ethernet io(IO_USERNAME, IO_KEY);
53+ // AdafruitIO_Ethernet io(IO_USERNAME, IO_KEY);
0 commit comments