Add package info to radio docs (for testing)

This commit is contained in:
Thomas Denney 2016-08-09 16:28:08 +01:00
parent 99d05ec91b
commit ee37b4a959
10 changed files with 40 additions and 1 deletions

View File

@ -33,3 +33,6 @@ radio.onDataReceived(() => {
[receive number](/reference/radio/receive-number),
[send number](/reference/radio/send-number), [set group](/reference/radio/set-group)
```package
microbit-radio
```

View File

@ -64,3 +64,6 @@ basic.forever(() => {
[send number](/reference/radio/send-number), [on data received](/reference/radio/on-data-received)
```package
microbit-radio
```

View File

@ -89,3 +89,7 @@ radio.onDataReceived(() => {
### See also
[send string](/reference/radio/send-string), [on data received](/reference/radio/on-data-received)
```package
microbit-radio
```

View File

@ -38,3 +38,7 @@ basic.forever(() => {
### See also
[receive number](/reference/radio/receive-number), [send number](/reference/radio/send-number), [on data received](/reference/radio/on-data-received)
```package
microbit-radio
```

View File

@ -43,3 +43,7 @@ basic.forever(() => {
### See also
[receive number](/reference/radio/receive-number), [on data received](/reference/radio/on-data-received)
```package
microbit-radio
```

View File

@ -40,3 +40,7 @@ A radio that can both transmit and receive is called a _transceiver_.
### See also
[receive string](/reference/radio/receive-string), [on data received](/reference/radio/on-data-received)
```package
microbit-radio
```

View File

@ -44,3 +44,6 @@ radio.onDataReceived(() => {
[receive number](/reference/radio/receive-number), [on data received](/reference/radio/on-data-received)
```package
microbit-radio
```

View File

@ -34,3 +34,6 @@ radio.setGroup(128)
[receive number](/reference/radio/receive-number), [send number](/reference/radio/send-number), [on data received](/reference/radio/on-data-received)
```package
microbit-radio
```

View File

@ -38,3 +38,7 @@ radio.setTransmitPower(7)
### See also
[receive number](/reference/radio/receive-number), [send number](/reference/radio/send-number), [on data received](/reference/radio/on-data-received)
```package
microbit-radio
```

View File

@ -41,10 +41,17 @@ radio.onDataReceived(() => {
});
```
Sample output to serial when ``A`` button pressed:
```{v:27,t:323,s:0}```
```Text
{v:27,t:323,s:0}
```
### See also
[send number](/reference/radio/send-number),
[send value](/reference/radio/send-value),
[on data received](/reference/radio/on-data-received)
```package
microbit-radio
```