pico-micropython-examples/uart
7west 8b1bf5f30c
Update code, diagram, and README
Fixed things several errors.
2021-02-24 21:56:51 -05:00
..
README.adoc Update code, diagram, and README 2021-02-24 21:56:51 -05:00
pico_uart_example.png Update code, diagram, and README 2021-02-24 21:56:51 -05:00
uart.py Update code, diagram, and README 2021-02-24 21:56:51 -05:00

README.adoc

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

= Using UART on the Raspberry Pi Pico
:xrefstyle: short

Send data from the UART1 port to the UART0 port. 

== Other code to try
[source.python]
uart0 = UART(0) #opens a UART connection at the default baudrate of 115,200
uart0.readline() #reads until the CR (\r) and NL (\n) characters then returns 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 UART0:TX to UART1:RX and UART0:RX to UART1:TX.
image::pico_uart_example.png[]

== List of Files

A list of files with descriptions of their function;

uart.py:: The example code.