File tree Expand file tree Collapse file tree 1 file changed +23
-8
lines changed Expand file tree Collapse file tree 1 file changed +23
-8
lines changed Original file line number Diff line number Diff line change 33
44Send data from the UART1 port to the UART0 port.
55
6- == Other code to try
7- [source.python]
8- uart0 = UART(0) #opens a UART connection at the default baudrate of 115,200
9- uart0.readline() #reads until the CR (\r) and NL (\n) characters then returns the line
10-
11-
126== Wiring information
137
148See <<uart-wiring-diagram>> for wiring instructions.
159
1610[[uart-wiring-diagram]]
1711[pdfwidth=75%]
18- .Wiring two of the Pico's ports together. Be sure to wire UART0: TX to UART1: RX and UART0: RX to UART1: TX.
12+ .Wiring two of the Pico's ports together. Be sure to wire UART0n TX to UART1 RX and UART0 RX to UART1 TX.
1913image::pico_uart_example.png[]
2014
15+ == Other things to try
16+
17+ [source,python]
18+ ----
19+ uart0 = UART(0) // <1>
20+ uart0.readline() // <2>
21+ ----
22+ <1> opens a UART connection at the default baudrate of 115,200
23+ <2> reads until the CR (\r) and NL (\n) characters then returns the line
24+
2125== List of Files
2226
2327A list of files with descriptions of their function;
2428
25- uart.py:: The example code.
29+ uart.py:: The example code.
30+
31+ == Bill of Materials
32+
33+ .A list of materials required for the example
34+ [[ring-bom-table]]
35+ [cols=3]
36+ |===
37+ | *Item* | *Quantity* | Details
38+ | Breadboard | 1 | generic part
39+ | Raspberry Pi Pico | 1 | http://raspberrypi.org/
40+ |===
You can’t perform that action at this time.
0 commit comments