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

Thread: Teensy 3.1 crashes on trivial code

  1. #1

    Teensy 3.1 crashes on trivial code

    Hi,

    I've uploaded some trivial code to my teensy 3.1
    It compiles and flashes fine but after +/- 0.5 seconds it crashes.
    Any ideas?

    Code:
    void setup() {
    	Serial.begin(115200);
    	Serial.println(F("Go!"));
    }
    
    void loop() {
    	Serial.println(micros());
    	delay(499);
    }
    Last edited by flok; 11-27-2019 at 06:47 PM.

  2. #2
    (it works fine on a teensy 2.0)

  3. #3
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    26,234
    I tested it here on a Teensy 3.1. Seems to work fine.

    Click image for larger version. 

Name:	sc.png 
Views:	45 
Size:	79.6 KB 
ID:	18278

  4. #4
    Hmmm it must be broken then.
    Sad!

  5. #5
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    26,234
    Where did you buy this Teensy 3.1?

    PJRC discontinued Teensy 3.1 about 5 years ago.

  6. #6
    I can't remember. I had them "in stock" for a couple of years.

Posting Permissions

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