rodzic
f0f802ef85
commit
c7b6734629
|
@ -6,6 +6,7 @@ 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
|
||||||
|
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue