Help to use UART
-
Hi guys!!! Lopy has 2 uart port, but I need some help to use the secondary uart, the docs aren't very clear about this.
How could I try the secondary uart??
Is possible to use both uart at the same time??
Thanks in advance.
-
I'm writing from my head, but this should work:
import machine uart = machine.UART(1, 115200)
According to LoPy pinout scheme https://www.pycom.io/wp-content/uploads/2016/11/lopy_pinout.pdf and Expansion Board pinout scheme https://www.pycom.io/wp-content/uploads/2016/11/expansion_v02_pinout.pdf UART1 (2nd) comm pins are:
TX1 - P3 / G24
RX1 - P4 / G11