update input blocks in docs and tests

This commit is contained in:
Amerlander
2020-02-20 04:01:37 +01:00
parent 38cf0ec0c6
commit c2cdcaa40f
62 changed files with 109 additions and 115 deletions

View File

@ -30,7 +30,7 @@ the second @boardname@), this program sends temperature data to the
serial port.
```blocks
input.onButtonPressed(Button.A, function () {
input.input.onButtonEvent(Button.A, ButtonEvent.Click, function () {
radio.sendNumber(input.temperature())
radio.sendValue("temp", input.temperature())
radio.sendString("It's warm now")