version check for teensyduino and teensy.cores

Status
Not open for further replies.

ossi

Well-known member
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?
 
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() {
}
 
Status
Not open for further replies.
Back
Top