WiFi and IoT
Last updated
Last updated
Search for KOI2 in the search bar, select KOI 2.(KOI 2 has been approved by Microsoft)
The extension will be imported into your project.
Press Button A on the Micro:bit to connect to a Wifi network.
Press Button B on the Micro:bit to display the IP address.
Press Button A on the Micro:bit to connect to Wifi and MQTT Platform.
Press Button B on the Micro:bit to publish a message on the MQTT channel.
Micro:bit will display the message received on the MQTT channel.
Messages sent to Makercloud need to follow this formatting, for dn and dsn, any value is fine so as you choose an unique value, for key, replace it with the field name of the MQTT channel.