Approved content
The content below is provided by a partner.
A PXT library for Muse IOT Shield
Sets up the Muselab WiFi IoT Shield used for the micro:bit.
MuseIoT.initializeWifi()
Connect the Muselab WiFi IoT Shield to the WiFi (Home router)
MuseIoT.setWifi("muselab", "12345678")
Here we take “muselab” as router SSID and “12345678” as router password.
Configure the Muselab WiFi IoT Shield as a hotspot.
MuseIoT.setWifiHotspot("muselab", "12345678")
For the hotspot, here we take “muselab” as SSID and “12345678” as password.
Upload data to ThingSpeak
MuseIoT.sendThingspeak("asdasdasdasdasdasd", 0, 0)
Here we take “asdasdasdasdasdasd” as the ThingSpeak key, 0 as field1 value and 0 as field2 value.
Trigger the IFTTT cloud event such as email, sms and so on.
MuseIoT.sendIFTTT(
"asdasdasdasdasdasd",
"email",
0,
0
)
Here we take “asdasdasdasdasdasd” as IFTTT key, email as event name, 0 as value1 and 0 as value2.
MIT
(The metadata above is needed for package search.)
muselab=github:MUSELAB/pxt-wifi-shield#v1.9.60