Revert "Update radio event parm usage descriptions (#2075)" (#2077)

This reverts commit 7950f1b4d7.
This commit is contained in:
Galen Nickel
2019-05-29 10:45:10 -07:00
committed by Abhijith Chatra
parent e79ff5f9e2
commit f0e174a4f3
8 changed files with 10 additions and 9 deletions

View File

@ -12,7 +12,7 @@ You will need a second @boardname@ for this part. By using the radio, we can con
Download the code below to the @boardname@ that's on the Milky Monster and again to another "controller" @boardname@. Whenever button **A** is pressed, the Milky Monster will move one time.
```blocks
radio.onReceivedNumber((receivedNumber) => {
radio.onReceivedNumber(({ receivedNumber }) => {
pins.servoWritePin(AnalogPin.P0, 0)
basic.pause(500)
pins.servoWritePin(AnalogPin.P0, 180)