Activity › Forums › Questions & Troubleshooting › Hardware › serial lines
-
Hi, Using Serial.print I can send data via the USB connector.
What do I need to use in order to send data via the serial pins on X1/TXD and X2/TXD2 (MAXI Automation) ?
Is data sent via Serial.print also available at the X1/X2 pins?
-
Hi,
the Serial sends data also to the pin TX / X1. It is the same UART which is forwarded to the USB. But, be careful – when you connect to TX and RX pins on X1 you can have some troubles during sketch upload then.
TX2 and RX2 are connected to Serial2. Just use it in the same way like Serial … Serial2.print …
Best regards,
Lukas
Viewing 1 - 2 of 2 replies
Log in to reply.