22
22
23
23
/* ************************ WiFi Access Point *********************************/
24
24
25
- #define WLAN_SSID " ...your SSID... "
26
- #define WLAN_PASS " ...your password... "
25
+ #define WLAN_SSID " WLAN_SSID "
26
+ #define WLAN_PASS " WIFI_PASSWORD "
27
27
28
28
/* ************************ Adafruit.io Setup *********************************/
29
29
30
30
#define AIO_SERVER " io.adafruit.com"
31
- #define AIO_SERVERPORT 8883 // 8883 for MQTTS
32
- #define AIO_USERNAME " ...your AIO username (see https://accounts.adafruit.com)..."
33
- #define AIO_KEY " ...your AIO key..."
31
+ // Using port 8883 for MQTTS
32
+ #define AIO_SERVERPORT 8883
33
+ // Adafruit IO Account Configuration
34
+ // (to obtain these values, visit https://io.adafruit.com and click on Active Key)
35
+ #define AIO_USERNAME " YOUR_ADAFRUIT_IO_USERNAME"
36
+ #define AIO_KEY " YOUR_ADAFRUIT_IO_KEY"
34
37
35
38
/* *********** Global State (you don't need to change this!) ******************/
36
39
@@ -41,7 +44,7 @@ WiFiClientSecure client;
41
44
Adafruit_MQTT_Client mqtt (&client, AIO_SERVER, AIO_SERVERPORT, AIO_USERNAME, AIO_KEY);
42
45
43
46
// io.adafruit.com SHA1 fingerprint
44
- const char * fingerprint = " AD 4B 64 B3 67 40 B5 FC 0E 51 9B BD 25 E9 7F 88 B6 2A A3 5B " ;
47
+ const char * fingerprint = " 77 00 54 2D DA E7 D8 03 27 31 23 99 EB 27 DB CB A5 4C 57 18 " ;
45
48
46
49
/* ***************************** Feeds ***************************************/
47
50
0 commit comments