Skip to content

Commit cb417a4

Browse files
committed
require mqtt lib v0.17.0 or higher
1 parent a9d077d commit cb417a4

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

examples/adafruitio_11_group_pub/config.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
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 "uniontownlabs"
6-
#define IO_KEY "8684204c869a4b6a989b0091e49491c4"
5+
#define IO_USERNAME "your_username"
6+
#define IO_KEY "your_key"
77

88
/******************************* WIFI **************************************/
99

@@ -13,8 +13,8 @@
1313
// - Feather M0 WiFi -> https://www.adafruit.com/products/3010
1414
// - Feather WICED -> https://www.adafruit.com/products/3056
1515

16-
#define WIFI_SSID "Uniontown Labs"
17-
#define WIFI_PASS "Coda and Biko do not like cats."
16+
#define WIFI_SSID "your_ssid"
17+
#define WIFI_PASS "your_pass"
1818

1919
// comment out the following two lines if you are using fona or ethernet
2020
#include "AdafruitIO_WiFi.h"

examples/adafruitio_12_group_sub/config.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
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 "uniontownlabs"
6-
#define IO_KEY "8684204c869a4b6a989b0091e49491c4"
5+
#define IO_USERNAME "your_username"
6+
#define IO_KEY "your_key"
77

88
/******************************* WIFI **************************************/
99

@@ -13,8 +13,8 @@
1313
// - Feather M0 WiFi -> https://www.adafruit.com/products/3010
1414
// - Feather WICED -> https://www.adafruit.com/products/3056
1515

16-
#define WIFI_SSID "Uniontown Labs"
17-
#define WIFI_PASS "Coda and Biko do not like cats."
16+
#define WIFI_SSID "your_ssid"
17+
#define WIFI_PASS "your_pass"
1818

1919
// comment out the following two lines if you are using fona or ethernet
2020
#include "AdafruitIO_WiFi.h"

src/AdafruitIO.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@
2222
#include "ArduinoHttpClient.h"
2323

2424
#ifndef ADAFRUIT_MQTT_VERSION_MAJOR
25-
#error "This sketch requires Adafruit MQTT Library v0.16.0 or higher. Please install or upgrade using the Library Manager."
25+
#error "This sketch requires Adafruit MQTT Library v0.17.0 or higher. Please install or upgrade using the Library Manager."
2626
#endif
2727

28-
#if ADAFRUIT_MQTT_VERSION_MAJOR == 0 && ADAFRUIT_MQTT_VERSION_MINOR < 16
29-
#error "This sketch requires Adafruit MQTT Library v0.16.0 or higher. Please install or upgrade using the Library Manager."
28+
#if ADAFRUIT_MQTT_VERSION_MAJOR == 0 && ADAFRUIT_MQTT_VERSION_MINOR < 17
29+
#error "This sketch requires Adafruit MQTT Library v0.17.0 or higher. Please install or upgrade using the Library Manager."
3030
#endif
3131

3232
class AdafruitIO {

0 commit comments

Comments
 (0)