adccommunitymod (AutomationDirect) asked a question.

P1am-gpio

Created Date: February 10,2020

Created By: sts098

**** This post has been imported from our legacy forum. Information in this post may be outdated and links contained in the post may no longer work.****

Are Serial RX/TX Pins 13 and 14 available for Serial IO while the USB connection is live? Looking to install an LCD and drive off those pins.


  • adccommunitymod (AutomationDirect)

    Created Date: February 10,2020

    Created by: sts098

    Are Serial RX/TX Pins 13 and 14 available for Serial IO while the USB connection is live? Looking to install an LCD and drive off those pins.

  • adccommunitymod (AutomationDirect)

    Created Date: February 10,2020

    Created by: FACTS_ENG_TEAM1

    Yes those pins are free to use. The SAMD21 that powers the P1AM-100 can have several serial ports.

    To use the USB port, you can use Serial like normal as in: Serial.println( "USB Port ");

    To use Pins 13 + 14, you use Serial1 as in: Serial1.println( "Pins 13 + 14 ");

    In the Arduino IDE go to "File>Examples>04.Communication>SerialPassthrough " for an example. In the comments it'll say Pins 0 and 1, but in our case it is pins 13 and 14. The rest is the otherwise the same.

    Expand Post