docs/pyboard/tutorial: Add "timeout=0" to UART in pass-through example.

Without this the pass-through will pause for 1 second at each character.
pull/3284/head
Damien George 2017-08-23 17:01:43 +10:00
rodzic fc483706d3
commit b84268d49c
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -15,4 +15,4 @@ It's as simple as::
if uart.any():
usb.write(uart.read(256))
pass_through(pyb.USB_VCP(), pyb.UART(1, 9600))
pass_through(pyb.USB_VCP(), pyb.UART(1, 9600, timeout=0))