Update radio event parm usage descriptions (#2165)

This commit is contained in:
Galen Nickel
2019-06-14 09:27:04 -07:00
committed by Abhijith Chatra
parent 16a3828b1c
commit bf68646d18
8 changed files with 9 additions and 10 deletions

View File

@ -38,7 +38,7 @@ input.onButtonPressed(Button.B, () => {
```
* To display the data sent between the micro:bits, drag an 'on radio received receivedString' block to the coding workspace
* From the Basic Toolbox drawer, drag a 'show string' block into the 'on radio received receivedString' block
* From the Variables Toolbox drawer, drag a 'receivedString' variable block into the default string value of "Hello" in the 'show string' block
* From the 'on radio received receivedString' block, drag the 'receivedString' variable block into the default string value of "Hello" in the 'show string' block
Here is the complete Marco Polo program:
@ -129,7 +129,7 @@ In order to know whether to display a dot, a dash, or a space/stop image, we nee
* From the Logic Toolbox drawer, drag a 0=0 comparison block into the coding workspace.
* Replace the default value 'true' of the 'if...then' block with the comparison block.
* From the Variables Toolbox drawer, drag a 'receivedNumber' variable block into the coding workspace, and drop it into the first slot of the comparison block
* From the 'on radio received receivedNumber' block, pull down the 'receivedNumber' variable block and drop it into the first slot of the comparison block
* Leave the righthand side default value of zero in the 0=0 block.
```blocks

View File

@ -102,7 +102,7 @@ basic.forever(() => {
In the starting of the code the title is displayed, radio group `99` is setup, and the initial ``temperature`` variable is set to `0`.
In the ``||radio:on received number||`` event, the temperature is received from sending the @boardname@ radio. The receive temperature is then displayed on the LED display. This is repeated whenever a radio signal is received.
In the ``||radio:on received number||`` event, the temperature is received from sending the @boardname@ radio. The received temperature is then displayed on the LED display. This is repeated whenever a radio signal is received.
```blocks
let temperature = 0