You can use the function initSerial()
to initialize send and receive serial ports with arguments TX
and Rx
.
HANSHIN_IOT.initSerial(TX,RX)
You can use the function setWifiInfo()
to connect to WIFI with arguments WIFI name
and password
of type string.
HANSHIN_IOT.setWifiInfo(name,password)
You can use the function triggerEvent()
to triggle the specific event with arguments key
and event
.
HANSHIN_IOT.triggerEvent(key,event)
If some errors occurred, you will need to search for it using the full Github repo URL. eg: https://github.com/stem-hanshin/HANSHIN_IOT
MIT
- for PXT/microbit (The metadata above is needed for package search.)