• serial lines

     Lukas updated 11 months, 3 weeks ago 2 Members · 2 Posts
  • tottig

    Member
    November 24, 2019 at 11:23 am

    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?

  • Lukas

    Member
    March 9, 2020 at 12:32 pm

    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

Log in to reply.

Original Post
0 of 0 posts June 2018
Now