Pin names for DIO teensy 3.2

Status
Not open for further replies.
Pin numbers for Digital do map direct as shown on the T_3.2 and other ARM cards and pages.

The AVR T_2.x cards seem old school? Never had any and looking the other day at cards they are 'unique'.
 
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.

Thanks for the reply.
 
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-)
 
Status
Not open for further replies.
Back
Top