Announcement

Collapse
No announcement yet.

P1am-gpio

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • P1am-gpio

    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.

  • #2
    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>SerialPassthro ugh" 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.
    Last edited by FACTS_ENG_TEAM1; 02-10-2020, 03:59 PM.

    Comment

    Working...
    X