October 2019
Intermediate to advanced
350 pages
9h 5m
English
Now, it's time to make sure MQTT works on your Arduino MKR WiFi 1010.
As of writing this, there is no official example of the MQTT-Arduino library for the Arduino MKR WiFi 1010. This is because the Arduino MKR WiFi 1010 uses a wireless module that is relatively new.
#include <WiFiNINA.h>#include <MQTT.h>const char WIFI_SSID[] = "YOUR_WIFI_NAME_HERE";const char WIFI_PASS[] = "YOUR_WIFI_PASSWORD_HERE"; ...