#include <SoftwareSerial.h>

// software serial #2: RX = digital pin 8, TX = digital pin 9
// on the Mega, use other pins instead, since 8 and 9 don't work on the Mega
SoftwareSerial portTwo(8, 9);

void setup() {

  pinMode(LED_BUILTIN, OUTPUT);
  
  // Open serial communications and wait for port to open:
  Serial.begin(9600);
  while (!Serial) {
    ; // wait for serial port to connect. Needed for native USB port only
  }


  // Start each software serial portm
  portTwo.begin(9600);

  digitalWrite(LED_BUILTIN, LOW);
}

void loop() {


  // Now listen on the second port
  portTwo.listen();
  // while there is data coming in, read it
  // and send to the hardware serial port:
  Serial.println("Data from port two:");
  while (portTwo.available() > 0) {
    char inByte = portTwo.read();
    delay(500);
    Serial.write(inByte);
  }
}

Add project resources for Mote
Add project resources for Mote

Project resources ships external build files required (primarily
for testing)
