rodzic
f0f802ef85
commit
c7b6734629
|
@ -5,8 +5,9 @@ Send data from the UART1 port to the UART0 port.
|
||||||
|
|
||||||
== Other code to try
|
== Other code to try
|
||||||
[source.python]
|
[source.python]
|
||||||
uart0 = UART(0) #opens a UART connection at the default baudrate of 115,200
|
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
|
|
||||||
|
uart0.readline() #reads until the CR (\r) and NL (\n) characters then returns the line
|
||||||
|
|
||||||
|
|
||||||
== Wiring information
|
== Wiring information
|
||||||
|
@ -22,4 +23,4 @@ image::pico_uart_example.png[]
|
||||||
|
|
||||||
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.
|
||||||
|
|
Ładowanie…
Reference in New Issue