rename micro:bit to @boardname@
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
|
||||
> Note: This API has been deprecated! Use [on data packet received](/reference/radio/on-data-packet-received) instead.
|
||||
|
||||
Receives the next number sent by a micro:bit in the same ``radio`` group.
|
||||
Receives the next number sent by a @boardname@ in the same ``radio`` group.
|
||||
|
||||
```sig
|
||||
radio.receiveNumber();
|
||||
@ -10,11 +10,11 @@ radio.receiveNumber();
|
||||
|
||||
### Returns
|
||||
|
||||
* the first [number](/reference/types/number) that the micro:bit received. If it did not receive any numbers, this function will return `0`.
|
||||
* the first [number](/reference/types/number) that the @boardname@ received. If it did not receive any numbers, this function will return `0`.
|
||||
|
||||
### Example: Simple number receiver
|
||||
|
||||
This example receives the number broadcasted another micro:bit and shows it
|
||||
This example receives the number broadcasted another @boardname@ and shows it
|
||||
as a bar graph.
|
||||
|
||||
```blocks
|
||||
|
Reference in New Issue
Block a user