Hi,
I've used Arduinos for several simple projects and now I want to use Teensy for a usb-midi project. Looking at the pin assignments for a Teensy 3.2, I don't understand if a pin is analog or digital, or if it can be used for either. For example, pin 23 looks like it's the same as A9. At this point I would guess that I could use this pin for an analogRead(A9), but if I set it with pinMode(23, INPUT), I could use it to read a digital signal?
thanks
I've used Arduinos for several simple projects and now I want to use Teensy for a usb-midi project. Looking at the pin assignments for a Teensy 3.2, I don't understand if a pin is analog or digital, or if it can be used for either. For example, pin 23 looks like it's the same as A9. At this point I would guess that I could use this pin for an analogRead(A9), but if I set it with pinMode(23, INPUT), I could use it to read a digital signal?
thanks