fixing docs snippets

This commit is contained in:
Peli de Halleux 2016-12-08 09:16:27 -08:00
parent 1649811015
commit 03c0339e9a
2 changed files with 7 additions and 3 deletions

View File

@ -108,3 +108,7 @@ radio.onDataPacketReceived(({receivedNumber}) => {
} }
}) })
``` ```
```package
radio
```

View File

@ -18,7 +18,7 @@ Read more at https://lancaster-university.github.io/microbit-docs/ble/eddystone/
## ~ ## ~
```sig ```sig
bluetooth.advertiseUrl("https://pxt.microbit.org/", 7); bluetooth.advertiseUrl("https://pxt.microbit.org/", 7, true);
``` ```
### Parameters ### Parameters
@ -29,7 +29,7 @@ bluetooth.advertiseUrl("https://pxt.microbit.org/", 7);
### Example: Broadcast a secret code ### Example: Broadcast a secret code
```blocks ```blocks
bluetooth.advertiseUrl("https://pxt.io?secret=42", 7); bluetooth.advertiseUrl("https://pxt.io?secret=42", 7, true);
``` ```
## See Also ## See Also