Skip to content
Frank edited this page Aug 26, 2021 · 8 revisions

A not complete list of Teensyduino macros

  • ARDUINO_ARCH_AVR - Avr Architecture / (all Teensy < 3.0)

  • TEENSYDUINO=Version - Is a Teensy + gives TD version

  • KINETISL - Teensy LC KINETISK - All Teensy 3.x

  • __MK20DX128__ - Teensy 3.0

  • __MK20DX256__ - Teensy 3.1, 3.2

  • __MK64FX512__ - Teensy 3.5

  • __MK66FX1M0__ - Teensy 3.6

  • __IMXRT1062__ - all Teensy 4.x + Teensy 4 MM

  • ARDUINO_TEENSY2 - Teensy 2

  • ARDUINO_TEENSY30 - Teensy 3.0

  • [...]

  • ARDUINO_TEENSY40 - Teensy 4.0

  • ARDUINO_TEENSY41 - Teensy 4.1

  • ARDUINO_TEENSYMM - Teensy 4 MM

  • NUM_DIGITAL_PINS

  • NUM_ANALOG_INPUTS

Audio Library:

  • AUDIO_BLOCK_SAMPLES - default 128 (Teensy LC: 64) - Number of samples per audio block.
  • AUDIO_SAMPLE_RATE_EXACT - default 44.100f (T4), 44117.64706 (Teensy LC + Teensy 3.x)
  • MAX_AUDIO_MEMORY
Clone this wiki locally