Renaming the string in onDataPacketReceived and updating docs (#292)

This commit is contained in:
Richard Knoll
2016-10-25 16:39:13 -07:00
committed by Peli de Halleux
parent f191d9033d
commit 2bc5db517e
5 changed files with 23 additions and 12 deletions

View File

@ -24,8 +24,8 @@ input.onButtonPressed(Button.A, () => {
basic.showString("SENT");
})
radio.onDataPacketReceived(({ text }) => {
basic.showString(text);
radio.onDataPacketReceived(({ receivedString }) => {
basic.showString(receivedString);
});
```