fix input.input. typing

This commit is contained in:
Amerlander
2020-03-19 16:26:40 +01:00
parent 0803a13033
commit f30ff02987
57 changed files with 101 additions and 101 deletions

View File

@ -32,7 +32,7 @@ serial port to use the pins. The new configuration uses pin ``P1`` to transmit a
``P2`` to receive. The baud rate is set to `9600`.
```blocks
input.input.onButtonEvent(Button.A, ButtonEvent.Click, () => {
input.onButtonEvent(Button.A, ButtonEvent.Click, () => {
serial.redirect(SerialPin.P1, SerialPin.P2, BaudRate.BaudRate9600);
});
```