AzureIoTHubMQTTClient example for ESPectro board, using Platformio or Arduino IDE.
AzureIoTHubMQTTClient is a ESP8266 Arduino library I made to work with Azure IoT Hub via MQTT protocol.
Just do pio run -t upload
Rename the source code file from AzureIoTHubSample.cpp
to AzureIoTHubSample.ino
, then open the .ino
file with Arduino IDE.
This project sample is making use of AzureIoTHubMQTTClient
library I made that have dependencies to following libraries:
This sample also uses Adafruit-BMP085-Library if you have the sensor.
Please download all required libraries, either using pio lib
for PlatformIO, or Library Manager for Arduino IDE.