How to publish messages to a MQTT topic with the FeatherWing ESP32 AirLift Wi-Fi module.
- Set up the hardware, connect it to your computer via USB.
- Copy the libraries to the lib directory on the CIRCUITPY drive.
- Set your Wi-Fi ssid and password in the mqtt_pub_client.py example.
- Copy the content of mqtt_pub_client.py to code.py on the CIRCUITPY drive.
From the CircuitPython libraries bundle:
- Copy lib/adafruit_bus_device/* (see source and docs).
- Copy lib/adafruit_esp32spi/* (see source and docs).
- Copy lib/adafruit_logging.mpy (see source and docs).
- Copy lib/adafruit_minimqtt/* (see source and docs).
- Feather nRF52840 Express microcontroller.
- FeatherWing ESP32 AirLift Wi-Fi module.
- Based on https://github.com/adafruit/Adafruit_CircuitPython_MiniMQTT/tree/master/examples licensed under MIT License