added 'microbit-bluetooth' package

This commit is contained in:
Peli de Halleux
2016-06-14 06:30:07 -07:00
parent 713dfec949
commit 2841df6950
10 changed files with 76 additions and 15 deletions

View File

@ -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);
}
}

View File

@ -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