PDA

View Full Version : Teensy 3.0 UART (Serial Ports)



nrnr31
11-29-2012, 08:06 PM
Hi all

Since the Teensy 3 has 3 serial ports (UARTs), how would you print data to them? Would you say Uart1.print("Test")?
I know on the Teensy 2 you could say Uart.print("Test")

Please let me know.

Thanks

PaulStoffregen
11-29-2012, 08:08 PM
Serial1.print()

Serial2.print()

Serial3.print()

dani190
11-30-2012, 01:43 AM
Paul, how would you go about initializing them then?

Is there an doc's on this sort of thing to look it up?

PaulStoffregen
11-30-2012, 07:33 AM
Serial2.begin(9600);

dani190
11-30-2012, 04:55 PM
Thanks Paul, shortly after I posted I found the info I needed in the Arduino docs.