App required You must use one of the micro:bit apps to use this functionality.
On Signal Strength Changed
Register code to run when the signal strength of the paired device changes.
devices.onSignalStrengthChanged(() => {})
Parameters
body
: code to run when the signal strength changes.
Examples
Display the signal strength on screen:
devices.onSignalStrengthChanged(() => {
basic.showNumber(devices.signalStrength())
})
See Also
tell remote control to, raise alert to, signal strength
devices