762 B
762 B
On Signal Strength Changed
Register code to run when the signal strength of the paired device changes.
~hint
App required You must use one of the micro:bit apps to use this functionality.
~
devices.onNotified(MesDeviceInfo.IncomingCall, () => {})
Parameters
body
: code to run when the signal strength changes.
Examples
Display the signal strength on screen:
devices.onNotified(MesDeviceInfo.IncomingCall, () => {
basic.showString("RING RING")
})
See Also
tell remote control to, raise alert to, signal strength
devices