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
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login