Skip to content
Snippets Groups Projects
Commit b84268d4 authored by Damien George's avatar Damien George
Browse files

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.
parent fc483706
No related branches found
No related tags found
No related merge requests found
...@@ -15,4 +15,4 @@ It's as simple as:: ...@@ -15,4 +15,4 @@ It's as simple as::
if uart.any(): if uart.any():
usb.write(uart.read(256)) 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))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment