Voting resources, early voting, and poll worker information - VOTE. ... Adafruit is open and shipping.
0

Free Pins with Motor Shield
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Free Pins with Motor Shield

by cmpalmer on Tue Feb 26, 2008 3:56 pm

I just got my motor shield kit yesterday and haven't had a chance to build it it, but I I have a question (that hopefully won't be obvious once I start looking at the kit).

Which analog and digital pins will I still have available for other uses if I'm using the motor shield? I see that the analog pins are brought up and there is a space to solder a female header there, but what about the digital pins?
cmpalmer
 
Posts: 11
Joined: Wed Oct 10, 2007 5:52 pm
Location: Huntsville, AL

by adafruit on Tue Feb 26, 2008 6:51 pm

you should take a look at the schematic, all the analog pins are available but i dont remember which digital ones

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm
Location: nyc

by cmpalmer on Tue Feb 26, 2008 7:04 pm

It looks like just 0 and 1 (serial TX/RX) and pin 13 if I'm reading it right.

No big deal (and I know you can use the analog pins as digital inputs as well), I was just curious...
cmpalmer
 
Posts: 11
Joined: Wed Oct 10, 2007 5:52 pm
Location: Huntsville, AL

by Selaseth on Mon May 05, 2008 6:18 pm

You can use most of the analog pins - you can even use them als digital input or outputs as pinMode(14, INPUT) for analog pin 0: http://www.arduino.cc/en/Tutorial/AnalogInputPins
I've tested it with a switch to start a servo..

-Eddi
Selaseth
 
Posts: 8
Joined: Mon May 05, 2008 5:50 pm
Location: Switzerland

Please be positive and constructive with your questions and comments.