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

Thread: version check for teensyduino and teensy.cores

  1. #1

    version check for teensyduino and teensy.cores

    Is there a possibilty to check which teensyduino version is installed ? Is there a possibility for a teensy sketch to check wich runtime-librrary is running?

  2. #2
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    21,302
    In Arduino, click Help > About (Windows & Linux), or Arduino > About (Macintosh) to see the version.

    At runtime:

    Code:
    void setup() {
      while (!Serial) ; // wait for serial monitor
      Serial.print("Teensyduino version ");
      Serial.println(TEENSYDUINO);
      Serial.print("Arduino version ");
      Serial.println(ARDUINO);
    }
    
    void loop() {
    }

Posting Permissions

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