Skip to content

Commit 007e135

Browse files
committed
updated examples
updated examples
1 parent 55efac3 commit 007e135

File tree

27 files changed

+81
-0
lines changed

27 files changed

+81
-0
lines changed

examples/adafruitio_00_publish/config.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@
2929
// uncomment the following line if you are using winc1500
3030
// #define USE_WINC1500
3131

32+
// uncomment the following line if you are using mrk1010 or nano 33 iot
33+
//#define ARDUINO_SAMD_MKR1010
34+
3235
// comment out the following lines if you are using fona or ethernet
3336
#include "AdafruitIO_WiFi.h"
3437

examples/adafruitio_01_subscribe/config.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@
2929
// uncomment the following line if you are using winc1500
3030
// #define USE_WINC1500
3131

32+
// uncomment the following line if you are using mrk1010 or nano 33 iot
33+
//#define ARDUINO_SAMD_MKR1010
34+
3235
// comment out the following lines if you are using fona or ethernet
3336
#include "AdafruitIO_WiFi.h"
3437

examples/adafruitio_02_pubsub/config.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@
2727
// uncomment the following line if you are using winc1500
2828
// #define USE_WINC1500
2929

30+
// uncomment the following line if you are using mrk1010 or nano 33 iot
31+
//#define ARDUINO_SAMD_MKR1010
32+
3033
// comment out the following lines if you are using fona or ethernet
3134
#include "AdafruitIO_WiFi.h"
3235

examples/adafruitio_03_multiple_feeds/config.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@
2929
// uncomment the following line if you are using winc1500
3030
// #define USE_WINC1500
3131

32+
// uncomment the following line if you are using mrk1010 or nano 33 iot
33+
//#define ARDUINO_SAMD_MKR1010
34+
3235
// comment out the following lines if you are using fona or ethernet
3336
#include "AdafruitIO_WiFi.h"
3437

examples/adafruitio_04_location/config.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@
2929
// uncomment the following line if you are using winc1500
3030
// #define USE_WINC1500
3131

32+
// uncomment the following line if you are using mrk1010 or nano 33 iot
33+
//#define ARDUINO_SAMD_MKR1010
34+
3235
// comment out the following lines if you are using fona or ethernet
3336
#include "AdafruitIO_WiFi.h"
3437

examples/adafruitio_05_type_conversion/config.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@
2929
// uncomment the following line if you are using winc1500
3030
// #define USE_WINC1500
3131

32+
// uncomment the following line if you are using mrk1010 or nano 33 iot
33+
//#define ARDUINO_SAMD_MKR1010
34+
3235
// comment out the following lines if you are using fona or ethernet
3336
#include "AdafruitIO_WiFi.h"
3437

examples/adafruitio_06_digital_in/config.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@
2929
// uncomment the following line if you are using winc1500
3030
// #define USE_WINC1500
3131

32+
// uncomment the following line if you are using mrk1010 or nano 33 iot
33+
//#define ARDUINO_SAMD_MKR1010
34+
3235
// comment out the following lines if you are using fona or ethernet
3336
#include "AdafruitIO_WiFi.h"
3437

examples/adafruitio_07_digital_out/config.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@
2929
// uncomment the following line if you are using winc1500
3030
// #define USE_WINC1500
3131

32+
// uncomment the following line if you are using mrk1010 or nano 33 iot
33+
//#define ARDUINO_SAMD_MKR1010
34+
3235
// comment out the following lines if you are using fona or ethernet
3336
#include "AdafruitIO_WiFi.h"
3437

examples/adafruitio_08_analog_in/config.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@
2929
// uncomment the following line if you are using winc1500
3030
// #define USE_WINC1500
3131

32+
// uncomment the following line if you are using mrk1010 or nano 33 iot
33+
//#define ARDUINO_SAMD_MKR1010
34+
3235
// comment out the following lines if you are using fona or ethernet
3336
#include "AdafruitIO_WiFi.h"
3437

examples/adafruitio_09_analog_out/config.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@
2929
// uncomment the following line if you are using winc1500
3030
// #define USE_WINC1500
3131

32+
// uncomment the following line if you are using mrk1010 or nano 33 iot
33+
//#define ARDUINO_SAMD_MKR1010
34+
3235
// comment out the following lines if you are using fona or ethernet
3336
#include "AdafruitIO_WiFi.h"
3437

examples/adafruitio_10_dashboard_creation/config.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@
2929
// uncomment the following line if you are using winc1500
3030
// #define USE_WINC1500
3131

32+
// uncomment the following line if you are using mrk1010 or nano 33 iot
33+
//#define ARDUINO_SAMD_MKR1010
34+
3235
// comment out the following lines if you are using fona or ethernet
3336
#include "AdafruitIO_WiFi.h"
3437

examples/adafruitio_11_group_pub/config.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@
2929
// uncomment the following line if you are using winc1500
3030
// #define USE_WINC1500
3131

32+
// uncomment the following line if you are using mrk1010 or nano 33 iot
33+
//#define ARDUINO_SAMD_MKR1010
34+
3235
// comment out the following lines if you are using fona or ethernet
3336
#include "AdafruitIO_WiFi.h"
3437

examples/adafruitio_12_group_sub/config.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@
2929
// uncomment the following line if you are using winc1500
3030
// #define USE_WINC1500
3131

32+
// uncomment the following line if you are using mrk1010 or nano 33 iot
33+
//#define ARDUINO_SAMD_MKR1010
34+
3235
// comment out the following lines if you are using fona or ethernet
3336
#include "AdafruitIO_WiFi.h"
3437

examples/adafruitio_13_rgb/config.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@
2929
// uncomment the following line if you are using winc1500
3030
// #define USE_WINC1500
3131

32+
// uncomment the following line if you are using mrk1010 or nano 33 iot
33+
//#define ARDUINO_SAMD_MKR1010
34+
3235
// comment out the following lines if you are using fona or ethernet
3336
#include "AdafruitIO_WiFi.h"
3437

examples/adafruitio_14_neopixel/config.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@
2929
// uncomment the following line if you are using winc1500
3030
// #define USE_WINC1500
3131

32+
// uncomment the following line if you are using mrk1010 or nano 33 iot
33+
//#define ARDUINO_SAMD_MKR1010
34+
3235
// comment out the following lines if you are using fona or ethernet
3336
#include "AdafruitIO_WiFi.h"
3437

examples/adafruitio_15_temp_humidity/config.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@
2929
// uncomment the following line if you are using winc1500
3030
// #define USE_WINC1500
3131

32+
// uncomment the following line if you are using mrk1010 or nano 33 iot
33+
//#define ARDUINO_SAMD_MKR1010
34+
3235
// comment out the following lines if you are using fona or ethernet
3336
#include "AdafruitIO_WiFi.h"
3437

examples/adafruitio_16_servo/config.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@
2929
// uncomment the following line if you are using winc1500
3030
// #define USE_WINC1500
3131

32+
// uncomment the following line if you are using mrk1010 or nano 33 iot
33+
//#define ARDUINO_SAMD_MKR1010
34+
3235
// comment out the following lines if you are using fona or ethernet
3336
#include "AdafruitIO_WiFi.h"
3437

examples/adafruitio_17_time_subscribe/config.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@
2929
// uncomment the following line if you are using winc1500
3030
// #define USE_WINC1500
3131

32+
// uncomment the following line if you are using mrk1010 or nano 33 iot
33+
//#define ARDUINO_SAMD_MKR1010
34+
3235
// comment out the following lines if you are using fona or ethernet
3336
#include "AdafruitIO_WiFi.h"
3437

examples/adafruitio_18_device_info/config.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@
2929
// uncomment the following line if you are using winc1500
3030
// #define USE_WINC1500
3131

32+
// uncomment the following line if you are using mrk1010 or nano 33 iot
33+
//#define ARDUINO_SAMD_MKR1010
34+
3235
// comment out the following lines if you are using fona or ethernet
3336
#include "AdafruitIO_WiFi.h"
3437

examples/adafruitio_19_deepsleep/config.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@
2929
// uncomment the following line if you are using winc1500
3030
// #define USE_WINC1500
3131

32+
// uncomment the following line if you are using mrk1010 or nano 33 iot
33+
//#define ARDUINO_SAMD_MKR1010
34+
3235
// comment out the following lines if you are using fona or ethernet
3336
#include "AdafruitIO_WiFi.h"
3437

examples/adafruitio_20_shared_feed_write/config.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@
2929
// uncomment the following line if you are using winc1500
3030
// #define USE_WINC1500
3131

32+
// uncomment the following line if you are using mrk1010 or nano 33 iot
33+
//#define ARDUINO_SAMD_MKR1010
34+
3235
// comment out the following lines if you are using fona or ethernet
3336
#include "AdafruitIO_WiFi.h"
3437

examples/adafruitio_21_feed_read/config.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@
2929
// uncomment the following line if you are using winc1500
3030
// #define USE_WINC1500
3131

32+
// uncomment the following line if you are using mrk1010 or nano 33 iot
33+
//#define ARDUINO_SAMD_MKR1010
34+
3235
// comment out the following lines if you are using fona or ethernet
3336
#include "AdafruitIO_WiFi.h"
3437

examples/adafruitio_22_environmental_monitor/config.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@
2929
// uncomment the following line if you are using winc1500
3030
// #define USE_WINC1500
3131

32+
// uncomment the following line if you are using mrk1010 or nano 33 iot
33+
//#define ARDUINO_SAMD_MKR1010
34+
3235
// comment out the following lines if you are using fona or ethernet
3336
#include "AdafruitIO_WiFi.h"
3437

examples/adafruitio_23_ifttt/config.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@
2727
// uncomment the following line if you are using winc1500
2828
// #define USE_WINC1500
2929

30+
// uncomment the following line if you are using mrk1010 or nano 33 iot
31+
//#define ARDUINO_SAMD_MKR1010
32+
3033
// comment out the following lines if you are using fona or ethernet
3134
#include "AdafruitIO_WiFi.h"
3235

examples/adafruitio_24_zapier/config.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@
2929
// uncomment the following line if you are using winc1500
3030
// #define USE_WINC1500
3131

32+
// uncomment the following line if you are using mrk1010 or nano 33 iot
33+
//#define ARDUINO_SAMD_MKR1010
34+
3235
// comment out the following lines if you are using fona or ethernet
3336
#include "AdafruitIO_WiFi.h"
3437

examples/io_home_series/io_home_security/config.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@
2929
// uncomment the following line if you are using winc1500
3030
// #define USE_WINC1500
3131

32+
// uncomment the following line if you are using mrk1010 or nano 33 iot
33+
//#define ARDUINO_SAMD_MKR1010
34+
3235
// comment out the following lines if you are using fona or ethernet
3336
#include "AdafruitIO_WiFi.h"
3437

examples/io_home_series/neopixel_and_thermometer/config.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@
2929
// uncomment the following line if you are using winc1500
3030
// #define USE_WINC1500
3131

32+
// uncomment the following line if you are using mrk1010 or nano 33 iot
33+
//#define ARDUINO_SAMD_MKR1010
34+
3235
// comment out the following lines if you are using fona or ethernet
3336
#include "AdafruitIO_WiFi.h"
3437

0 commit comments

Comments
 (0)