Skip to content

Commit 7a76fe4

Browse files
author
Alasdair Allan
committed
Final fix
1 parent a20630f commit 7a76fe4

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

uart/loopback/README.adoc

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,23 @@
11
= Using UART on the Raspberry Pi Pico
22
:xrefstyle: short
33

4-
Send data from the UART1 port to the UART0 port.
4+
Send data from the UART1 port to the UART0 port. Other things to try;
5+
6+
[source,python]
7+
----
8+
uart0 = UART(0)
9+
----
10+
11+
Which will opens a UART connection at the default baudrate of 115200,
12+
13+
and
14+
15+
[source,python]
16+
----
17+
uart0.readline() # <2>
18+
----
19+
20+
which will read until the CR (\r) and NL (\n) characters then returns the line.
521

622
== Wiring information
723

0 commit comments

Comments
 (0)