Skip to content

Typos in UART example #23

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 8, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions uart/loopback/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,22 @@ Send data from the UART1 port to the UART0 port. Other things to try;
uart0 = UART(0)
----

Which will opens a UART connection at the default baudrate of 115200, and
which will open a UART connection at the default baudrate of 115200, and

[source,python]
----
uart0.readline() # <2>
uart0.readline()
----

which will read until the CR (\r) and NL (\n) characters then returns the line.
which will read until the CR (\r) and NL (\n) characters, then return the line.

== Wiring information

See <<uart-wiring-diagram>> for wiring instructions.

[[uart-wiring-diagram]]
[pdfwidth=75%]
.Wiring two of the Pico's ports together. Be sure to wire UART0n TX to UART1 RX and UART0 RX to UART1 TX.
.Wiring two of the Pico's ports together. Be sure to wire UART0 TX to UART1 RX and UART0 RX to UART1 TX.
image::pico_uart_example.png[]

== List of Files
Expand All @@ -35,10 +35,10 @@ uart.py:: The example code.
== Bill of Materials

.A list of materials required for the example
[[ring-bom-table]]
[[uart-bom-table]]
[cols=3]
|===
| *Item* | *Quantity* | Details
| Breadboard | 1 | generic part
| Raspberry Pi Pico | 1 | http://raspberrypi.org/
|===
|===