Moved to loopback directory

pull/23/head
Alasdair Allan 2021-02-25 10:50:09 +00:00
rodzic ede42d5671
commit c53509b7b4
3 zmienionych plików z 10 dodań i 10 usunięć

Wyświetl plik

@ -12,22 +12,22 @@ See <<uart-wiring-diagram>> for wiring instructions.
.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 UART0n TX to UART1 RX and UART0 RX to UART1 TX.
image::pico_uart_example.png[] image::pico_uart_example.png[]
== Other things to try
[source,python]
----
uart0 = UART(0) // <1>
uart0.readline() // <2>
----
<1> opens a UART connection at the default baudrate of 115,200
<2> reads until the CR (\r) and NL (\n) characters then returns the line
== List of Files == List of Files
A list of files with descriptions of their function; A list of files with descriptions of their function;
uart.py:: The example code. uart.py:: The example code.
== Other things to try
[source,python]
----
uart0 = UART(0) # <1>
uart0.readline() # <2>
----
<1> opens a UART connection at the default baudrate of 115,200
<2> reads until the CR (\r) and NL (\n) characters then returns the line
== Bill of Materials == Bill of Materials
.A list of materials required for the example .A list of materials required for the example

Wyświetl plik

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 148 KiB

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 148 KiB