Skip to content

Commit d7f4bd2

Browse files
authored
Merge pull request #155 from darumsdad/master
Support for Arduino WiFi MKR 1010 and Arduino Nano 33 IOT
2 parents 28fd173 + 0647433 commit d7f4bd2

File tree

30 files changed

+170
-1
lines changed

30 files changed

+170
-1
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

0 commit comments

Comments
 (0)