fixing docs snippets
This commit is contained in:
parent
1649811015
commit
03c0339e9a
@ -108,3 +108,7 @@ radio.onDataPacketReceived(({receivedNumber}) => {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
```
|
```
|
||||||
|
|
||||||
|
```package
|
||||||
|
radio
|
||||||
|
```
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user