Renaming the string in onDataPacketReceived and updating docs (#292)
This commit is contained in:
committed by
Peli de Halleux
parent
f191d9033d
commit
2bc5db517e
@ -24,8 +24,8 @@ input.onButtonPressed(Button.A, () => {
|
||||
basic.showString("SENT");
|
||||
})
|
||||
|
||||
radio.onDataPacketReceived(({ text }) => {
|
||||
basic.showString(text);
|
||||
radio.onDataPacketReceived(({ receivedString }) => {
|
||||
basic.showString(receivedString);
|
||||
});
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user