fixed snippets
This commit is contained in:
parent
5da4d74a2a
commit
8601eff170
@ -22,7 +22,7 @@ by radio.
|
|||||||
```blocks
|
```blocks
|
||||||
let message = 0;
|
let message = 0;
|
||||||
radio.onDataReceived(() => {
|
radio.onDataReceived(() => {
|
||||||
message = radio.receivedNumber();
|
message = radio.receiveNumber();
|
||||||
if (message == 0) {
|
if (message == 0) {
|
||||||
basic.showString("YO")
|
basic.showString("YO")
|
||||||
}
|
}
|
||||||
@ -49,7 +49,7 @@ by radio.
|
|||||||
```blocks
|
```blocks
|
||||||
let message = 0;
|
let message = 0;
|
||||||
radio.onDataReceived(() => {
|
radio.onDataReceived(() => {
|
||||||
message = radio.receivedNumber();
|
message = radio.receiveNumber();
|
||||||
if (message == 0) {
|
if (message == 0) {
|
||||||
basic.showString("YO")
|
basic.showString("YO")
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user