Skip to content

Commit ac3ab05

Browse files
brentrubrentru
authored andcommitted
modify config for examples
1 parent 322556d commit ac3ab05

File tree

25 files changed

+131
-262
lines changed

25 files changed

+131
-262
lines changed

examples/adafruitio_00_publish/config.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@
2020
#define WIFI_SSID "your_ssid"
2121
#define WIFI_PASS "your_pass"
2222

23-
// comment out the following two lines if you are using fona or ethernet
24-
#include "AdafruitIO_WiFi.h"
25-
2623
// uncomment the following line if you are using airlift,
2724
// #define USE_AIRLIFT
2825

2926
// uncomment the following line if you are using winc1500,
3027
// #define USE_WINC1500
3128

29+
// comment out the following two lines if you are using fona or ethernet
30+
#include "AdafruitIO_WiFi.h"
31+
3232
// if you are using ESP32, MKR1000, ESP8266 or WICED, use the following line
3333
AdafruitIO_WiFi io(IO_USERNAME, IO_KEY, WIFI_SSID, WIFI_PASS);
3434

examples/adafruitio_01_subscribe/config.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@
2020
#define WIFI_SSID "your_ssid"
2121
#define WIFI_PASS "your_pass"
2222

23-
// comment out the following two lines if you are using fona or ethernet
24-
#include "AdafruitIO_WiFi.h"
25-
2623
// uncomment the following line if you are using airlift,
2724
// #define USE_AIRLIFT
2825

2926
// uncomment the following line if you are using winc1500,
3027
// #define USE_WINC1500
3128

29+
// comment out the following two lines if you are using fona or ethernet
30+
#include "AdafruitIO_WiFi.h"
31+
3232
// if you are using ESP32, MKR1000, ESP8266 or WICED, use the following line
3333
AdafruitIO_WiFi io(IO_USERNAME, IO_KEY, WIFI_SSID, WIFI_PASS);
3434

examples/adafruitio_02_pubsub/config.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@
2020
#define WIFI_SSID "your_ssid"
2121
#define WIFI_PASS "your_pass"
2222

23-
// comment out the following two lines if you are using fona or ethernet
24-
#include "AdafruitIO_WiFi.h"
25-
2623
// uncomment the following line if you are using airlift,
2724
// #define USE_AIRLIFT
2825

2926
// uncomment the following line if you are using winc1500,
3027
// #define USE_WINC1500
3128

29+
// comment out the following two lines if you are using fona or ethernet
30+
#include "AdafruitIO_WiFi.h"
31+
3232
// if you are using ESP32, MKR1000, ESP8266 or WICED, use the following line
3333
AdafruitIO_WiFi io(IO_USERNAME, IO_KEY, WIFI_SSID, WIFI_PASS);
3434

examples/adafruitio_03_multiple_feeds/config.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@
2020
#define WIFI_SSID "your_ssid"
2121
#define WIFI_PASS "your_pass"
2222

23-
// comment out the following two lines if you are using fona or ethernet
24-
#include "AdafruitIO_WiFi.h"
25-
2623
// uncomment the following line if you are using airlift,
2724
// #define USE_AIRLIFT
2825

2926
// uncomment the following line if you are using winc1500,
3027
// #define USE_WINC1500
3128

29+
// comment out the following two lines if you are using fona or ethernet
30+
#include "AdafruitIO_WiFi.h"
31+
3232
// if you are using ESP32, MKR1000, ESP8266 or WICED, use the following line
3333
AdafruitIO_WiFi io(IO_USERNAME, IO_KEY, WIFI_SSID, WIFI_PASS);
3434

examples/adafruitio_04_location/config.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@
2020
#define WIFI_SSID "your_ssid"
2121
#define WIFI_PASS "your_pass"
2222

23-
// comment out the following two lines if you are using fona or ethernet
24-
#include "AdafruitIO_WiFi.h"
25-
2623
// uncomment the following line if you are using airlift,
2724
// #define USE_AIRLIFT
2825

2926
// uncomment the following line if you are using winc1500,
3027
// #define USE_WINC1500
3128

29+
// comment out the following two lines if you are using fona or ethernet
30+
#include "AdafruitIO_WiFi.h"
31+
3232
// if you are using ESP32, MKR1000, ESP8266 or WICED, use the following line
3333
AdafruitIO_WiFi io(IO_USERNAME, IO_KEY, WIFI_SSID, WIFI_PASS);
3434

examples/adafruitio_05_type_conversion/config.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@
2020
#define WIFI_SSID "your_ssid"
2121
#define WIFI_PASS "your_pass"
2222

23-
// comment out the following two lines if you are using fona or ethernet
24-
#include "AdafruitIO_WiFi.h"
25-
2623
// uncomment the following line if you are using airlift,
2724
// #define USE_AIRLIFT
2825

2926
// uncomment the following line if you are using winc1500,
3027
// #define USE_WINC1500
3128

29+
// comment out the following two lines if you are using fona or ethernet
30+
#include "AdafruitIO_WiFi.h"
31+
3232
// if you are using ESP32, MKR1000, ESP8266 or WICED, use the following line
3333
AdafruitIO_WiFi io(IO_USERNAME, IO_KEY, WIFI_SSID, WIFI_PASS);
3434

examples/adafruitio_06_digital_in/config.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@
2020
#define WIFI_SSID "your_ssid"
2121
#define WIFI_PASS "your_pass"
2222

23-
// comment out the following two lines if you are using fona or ethernet
24-
#include "AdafruitIO_WiFi.h"
25-
2623
// uncomment the following line if you are using airlift,
2724
// #define USE_AIRLIFT
2825

2926
// uncomment the following line if you are using winc1500,
3027
// #define USE_WINC1500
3128

29+
// comment out the following two lines if you are using fona or ethernet
30+
#include "AdafruitIO_WiFi.h"
31+
3232
// if you are using ESP32, MKR1000, ESP8266 or WICED, use the following line
3333
AdafruitIO_WiFi io(IO_USERNAME, IO_KEY, WIFI_SSID, WIFI_PASS);
3434

examples/adafruitio_07_digital_out/config.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@
2020
#define WIFI_SSID "your_ssid"
2121
#define WIFI_PASS "your_pass"
2222

23-
// comment out the following two lines if you are using fona or ethernet
24-
#include "AdafruitIO_WiFi.h"
25-
2623
// uncomment the following line if you are using airlift,
2724
// #define USE_AIRLIFT
2825

2926
// uncomment the following line if you are using winc1500,
3027
// #define USE_WINC1500
3128

29+
// comment out the following two lines if you are using fona or ethernet
30+
#include "AdafruitIO_WiFi.h"
31+
3232
// if you are using ESP32, MKR1000, ESP8266 or WICED, use the following line
3333
AdafruitIO_WiFi io(IO_USERNAME, IO_KEY, WIFI_SSID, WIFI_PASS);
3434

examples/adafruitio_08_analog_in/config.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@
2020
#define WIFI_SSID "your_ssid"
2121
#define WIFI_PASS "your_pass"
2222

23-
// comment out the following two lines if you are using fona or ethernet
24-
#include "AdafruitIO_WiFi.h"
25-
2623
// uncomment the following line if you are using airlift,
2724
// #define USE_AIRLIFT
2825

2926
// uncomment the following line if you are using winc1500,
3027
// #define USE_WINC1500
3128

29+
// comment out the following two lines if you are using fona or ethernet
30+
#include "AdafruitIO_WiFi.h"
31+
3232
// if you are using ESP32, MKR1000, ESP8266 or WICED, use the following line
3333
AdafruitIO_WiFi io(IO_USERNAME, IO_KEY, WIFI_SSID, WIFI_PASS);
3434

examples/adafruitio_09_analog_out/config.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@
2020
#define WIFI_SSID "your_ssid"
2121
#define WIFI_PASS "your_pass"
2222

23-
// comment out the following two lines if you are using fona or ethernet
24-
#include "AdafruitIO_WiFi.h"
25-
2623
// uncomment the following line if you are using airlift,
2724
// #define USE_AIRLIFT
2825

2926
// uncomment the following line if you are using winc1500,
3027
// #define USE_WINC1500
3128

29+
// comment out the following two lines if you are using fona or ethernet
30+
#include "AdafruitIO_WiFi.h"
31+
3232
// if you are using ESP32, MKR1000, ESP8266 or WICED, use the following line
3333
AdafruitIO_WiFi io(IO_USERNAME, IO_KEY, WIFI_SSID, WIFI_PASS);
3434

0 commit comments

Comments
 (0)