Teensy 3.6 Digital pins not defined


#1

I’m using the example code. This compiles fine. But I can’t change the LED_BUILTIN to a digital pin PIN_Dx. Analog pins are define PIN_A0 works. Is this normal behavior?


#2

Do you have board = teensy36 in your platformio.ini? That example contains a typo and sets teensy35 in the Teensy 3.6 environment


#3

Just checked. Yes, it’s set correctly.


#4

Apparently analog pins are PIN_Ax and digital pins are just numbers.