On the 3.2 what are the pin names used with DIO digitalRead()? Are they the same as the teensy ++ as listed in the table on https://www.pjrc.com/teensy/td_digital.html page? ie. say pin 26 is PIN_B6?
Actually I was looking at the documentation on https://www.pjrc.com/teensy/td_digital.html and it looks like you have to use a pin name like PIN_D6 for a pin, in this case pin 6.
Output: digitalWrite()
When a pin is configured as output, you can make it high or low by calling digitialWrite().
digitalWrite(PIN_D6, LOW); // LED on
digitalWrite(PIN_D6, HIGH); // LED off
But I tried using the pin number "6" and it works so I guess the doc is misleading.
Parts of the web are confused with historical T_2.x notes.
For best info the included or online Card or those pages specific to each Teensy :: teensy32.html - that doesn't help with broken online 'tutorials' There are installed examples that show proper usage.
Between being otherwise overly occupied Paul has been tending to web spots noted : Adding a note with findings might get on the list for update : Web-site-could-use-a-few-updates-)