pxt-microbit Accessibility PR (#529)

* Accessibility changes
This commit is contained in:
Sam El-Husseini
2017-09-07 13:42:08 -07:00
committed by GitHub
parent 3f87576a50
commit e3975e65e5
357 changed files with 1641 additions and 3540 deletions

View File

@ -8,11 +8,11 @@ Receives the next number sent by a @boardname@ in the same ``radio`` group.
radio.receiveNumber();
```
### Returns
## Returns
* the first [number](/types/number) that the @boardname@ received. If it did not receive any numbers, this function will return `0`.
### Example: Simple number receiver
## Example: Simple number receiver
This example receives the number broadcasted another @boardname@ and shows it
as a bar graph.
@ -23,7 +23,7 @@ radio.onDataReceived(() => {
})
```
### Example: Light level receiver
## Example: Light level receiver
This example shows the light level from the [light level sender example](/reference/radio/send-number)
as a number.
@ -36,7 +36,7 @@ basic.forever(() => {
})
```
### Example: Mailbot
## Example: Mailbot
This example receives the light level from the [light level sender example](/reference/radio/send-number)
and shows a text string like **ALERT** if the light level becomes much brighter.
@ -58,7 +58,7 @@ basic.forever(() => {
})
```
### See also
## See also
[send number](/reference/radio/send-number), [on data received](/reference/radio/on-data-received)