From b84268d49c1099a193d2fdc92e3831f9eef8b3b3 Mon Sep 17 00:00:00 2001 From: Damien George Date: Wed, 23 Aug 2017 17:01:43 +1000 Subject: [PATCH] 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. --- docs/pyboard/tutorial/pass_through.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/pyboard/tutorial/pass_through.rst b/docs/pyboard/tutorial/pass_through.rst index a94e7363d2..012a907648 100644 --- a/docs/pyboard/tutorial/pass_through.rst +++ b/docs/pyboard/tutorial/pass_through.rst @@ -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))