rodzic
c7b6734629
commit
335ef9381e
|
@ -4,11 +4,10 @@
|
||||||
Send data from the UART1 port to the UART0 port.
|
Send data from the UART1 port to the UART0 port.
|
||||||
|
|
||||||
== Other code to try
|
== Other code to try
|
||||||
[source.python]
|
```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
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue