Teensy 3.6 Digital pins not defined


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?


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


Just checked. Yes, it’s set correctly.


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