awbmilne
New member
I have been looking for a reliable way to determine the compile platform for code.
I am looking for code to compile differently using the preprocessor based on if the hardware is Teensy 4 or Teensy 4.1.
I havent been able to find any forum posts on how to accomplish this.
I found this thread:
CORE_TEENSY define
This is useful for compiling code differently between, say, an Arduino Uno and Teensy, but not between different Teensy boards.
Thanks for the help!
I am looking for code to compile differently using the preprocessor based on if the hardware is Teensy 4 or Teensy 4.1.
I havent been able to find any forum posts on how to accomplish this.
I found this thread:
CORE_TEENSY define
This is useful for compiling code differently between, say, an Arduino Uno and Teensy, but not between different Teensy boards.
Thanks for the help!