Serial2 and Serial3 Teensyduino Teensy 3.0

Status
Not open for further replies.

pallen

New member
I'm working with Arduino 1.0.5 that has the Teensyduino patch installed. I'm trying to take advantage of the three UARTs (awesome!). However, when I try to write strings to Serial2 or Serial3, nothing comes through on an attached USB-Serial adapter. When I write single characters, it works. I've distilled the code down to the most basic possible:
Code:
void setup() {
  Serial2.begin(9600);
}

void loop() {
  //Serial2.print("this is a test"); //doesn't work
  Serial2.print('t');  //works
  delay(1000);
}
I've tested all three UARTs in the same way. Serial1 works fine. I can receive on all three. Anyone else encounter this?
 
Status
Not open for further replies.
Back
Top