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

Thread: Serial2 and Serial3 Teensyduino Teensy 3.0

  1. #1
    Junior Member
    Join Date
    Aug 2013
    Posts
    2

    Serial2 and Serial3 Teensyduino Teensy 3.0

    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?

  2. #2
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    20,576
    Install Teensyduino 1.15. This is a known bug with the older 1.14 version.

    More info here:

    http://forum.pjrc.com/threads/24005-...ll=1#post34554

  3. #3
    Junior Member
    Join Date
    Aug 2013
    Posts
    2
    That took care of it! Thanks for the quick reply! And the Teensy 3.0 in general!

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
  •