updated api definitions

This commit is contained in:
Peli de Halleux
2016-11-30 04:24:52 -08:00
parent adef3a6487
commit d873cbb6c3
6 changed files with 20 additions and 19 deletions

View File

@ -21,14 +21,18 @@ Read more at https://lancaster-university.github.io/microbit-docs/ble/eddystone/
bluetooth.stopAdvertising();
```
### Example: stop advertising on button pressed
```blocks
input.onButtonPressed(Button.A, () => {
bluetooth.stopAdvertising();
})
```
## See Also
[advertise-url](/reference/bluetooth/advertise-url)
```blocks
bluetooth.stopAdvertising();
```
```package
bluetooth
```