Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 5 of 5

Thread: Teensy 3.0 UART (Serial Ports)

  1. #1
    Junior Member
    Join Date
    Nov 2012
    Posts
    1

    Teensy 3.0 UART (Serial Ports)

    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

  2. #2
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    20,299
    Serial1.print()

    Serial2.print()

    Serial3.print()

  3. #3
    Junior Member
    Join Date
    Nov 2012
    Posts
    7
    Paul, how would you go about initializing them then?

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

  4. #4
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    20,299
    Serial2.begin(9600);

  5. #5
    Junior Member
    Join Date
    Nov 2012
    Posts
    7
    Thanks Paul, shortly after I posted I found the info I needed in the Arduino docs.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •