added 'microbit-bluetooth' package
This commit is contained in:
@ -204,7 +204,7 @@ namespace devices {
|
||||
|
||||
/**
|
||||
* Registers code to run when the device notifies about a change of signal strength.
|
||||
* @param body TODO
|
||||
* @param body Code run when the signal strength changes.
|
||||
*/
|
||||
//% weight=23 help=devices/on-signal-strength-changed
|
||||
//% blockId=devices_signal_strength_changed_event block="on signal strength changed" icon="\uf012"
|
||||
@ -213,4 +213,3 @@ namespace devices {
|
||||
registerWithDal(MES_SIGNAL_STRENGTH_ID, MICROBIT_EVT_ANY, body);
|
||||
}
|
||||
}
|
||||
|
||||
|
2
libs/microbit-devices/shims.d.ts
vendored
2
libs/microbit-devices/shims.d.ts
vendored
@ -57,7 +57,7 @@ declare namespace devices {
|
||||
|
||||
/**
|
||||
* Registers code to run when the device notifies about a change of signal strength.
|
||||
* @param body TODO
|
||||
* @param body Code run when the signal strength changes.
|
||||
*/
|
||||
//% weight=23 help=devices/on-signal-strength-changed
|
||||
//% blockId=devices_signal_strength_changed_event block="on signal strength changed" icon="\uf012" shim=devices::onSignalStrengthChanged
|
||||
|
Reference in New Issue
Block a user