Waveshield tutorial pin-outs

Adafruit Ethernet, Motor, Proto, Wave, Datalogger, GPS Shields - etc!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
Balloondoggle
 
Posts: 8
Joined: Tue Dec 06, 2011 4:40 pm

Waveshield tutorial pin-outs

Post by Balloondoggle »

I'm trying to follow the example play6_hc.pde for the wave shield, but am completely lost on a most basic step.

Under the paragraph "Button Interfacing", the buttons should be connected to pins "digital 14 through 20". Naturally, nothing on the Uno board is labeled as such, and pin-out drawings have not been helpful yet. I must be missing something elementary, but working through other introductory tutorials and web searches haven't shown me the light.

Please, what am I missing? How can I connect 6 discrete switches when 5 of the digital i/o pins are required to run the SD card? Do I default to the analog inputs?

User avatar
adafruit_support_bill
 
Posts: 88096
Joined: Sat Feb 07, 2009 10:11 am

Re: Waveshield tutorial pin-outs

Post by adafruit_support_bill »

You can use the analog pins as digital. Digital 14-20 are the same as Analog 0-5.
"digitalWrite(14);" is the same as: "digitalWrite(A0);"

Balloondoggle
 
Posts: 8
Joined: Tue Dec 06, 2011 4:40 pm

Re: Waveshield tutorial pin-outs

Post by Balloondoggle »

Thank you! I know I came across that in the early tutorials somewhere, but couldn't remember it or find it again. Very helpful.

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino Shields from Adafruit”