fixed snippets

This commit is contained in:
Peli de Halleux 2016-08-08 20:44:43 -07:00
parent 5da4d74a2a
commit 8601eff170

View File

@ -22,7 +22,7 @@ by radio.
```blocks
let message = 0;
radio.onDataReceived(() => {
message = radio.receivedNumber();
message = radio.receiveNumber();
if (message == 0) {
basic.showString("YO")
}
@ -49,7 +49,7 @@ by radio.
```blocks
let message = 0;
radio.onDataReceived(() => {
message = radio.receivedNumber();
message = radio.receiveNumber();
if (message == 0) {
basic.showString("YO")
}