2
2
3
3
// visit io.adafruit.com if you need to create an account,
4
4
// 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"
7
7
8
8
/******************************* WIFI **************************************/
9
9
14
14
// - Feather M0 WiFi -> https://www.adafruit.com/products/3010
15
15
// - Feather WICED -> https://www.adafruit.com/products/3056
16
16
17
- #define WIFI_SSID "your_ssid"
18
- #define WIFI_PASS "your_pass"
17
+ #define WIFI_SSID "your_ssid"
18
+ #define WIFI_PASS "your_pass"
19
19
20
20
// comment out the following two lines if you are using fona or ethernet
21
21
#include "AdafruitIO_WiFi.h"
22
22
AdafruitIO_WiFi io (IO_USERNAME , IO_KEY , WIFI_SSID , WIFI_PASS );
23
23
24
+ /******************************* AirLift **************************************/
25
+
26
+ // the AdafruitIO_AirLift client will work with the following boards:
27
+ // - Adafruit PyPortal -> https://www.adafruit.com/product/4116
28
+ // - Adafruit Metro M4 Express AirLift Lite -> https://www.adafruit.com/product/4000
29
+
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);
24
34
25
35
/******************************* FONA **************************************/
26
36
@@ -32,7 +42,6 @@ AdafruitIO_WiFi io(IO_USERNAME, IO_KEY, WIFI_SSID, WIFI_PASS);
32
42
// #include "AdafruitIO_FONA.h"
33
43
// AdafruitIO_FONA io(IO_USERNAME, IO_KEY);
34
44
35
-
36
45
/**************************** ETHERNET ************************************/
37
46
38
47
// the AdafruitIO_Ethernet client will work with the following boards:
@@ -41,4 +50,4 @@ AdafruitIO_WiFi io(IO_USERNAME, IO_KEY, WIFI_SSID, WIFI_PASS);
41
50
// uncomment the following two lines for ethernet,
42
51
// and comment out the AdafruitIO_WiFi client in the WIFI section
43
52
// #include "AdafruitIO_Ethernet.h"
44
- // AdafruitIO_Ethernet io(IO_USERNAME, IO_KEY);
53
+ // AdafruitIO_Ethernet io(IO_USERNAME, IO_KEY);
0 commit comments