From 7a76fe4b77638ca202d5f6e7362376f15f7789fe Mon Sep 17 00:00:00 2001 From: Alasdair Allan Date: Thu, 25 Feb 2021 10:55:09 +0000 Subject: [PATCH] Final fix --- uart/loopback/README.adoc | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/uart/loopback/README.adoc b/uart/loopback/README.adoc index d86c72e..4976e4c 100644 --- a/uart/loopback/README.adoc +++ b/uart/loopback/README.adoc @@ -1,7 +1,23 @@ = Using UART on the Raspberry Pi Pico :xrefstyle: short -Send data from the UART1 port to the UART0 port. +Send data from the UART1 port to the UART0 port. Other things to try; + +[source,python] +---- +uart0 = UART(0) +---- + +Which will opens a UART connection at the default baudrate of 115200, + +and + +[source,python] +---- +uart0.readline() # <2> +---- + +which will read until the CR (\r) and NL (\n) characters then returns the line. == Wiring information