Wave Shield and analog pins
Moderators: adafruit_support_bill, adafruit

Wave Shield and analog pins

by ashapiro on Sun Mar 31, 2013 7:51 pm

I'm afraid I'm confused again. According to the write-up on the Wave Shield, it uses pins 13, 12, 11 for one purpose, pins 10, 2, 3, 4, 5 for other purposes, and 9 for the timer. That leaves exactly pins 6,7,8 and the analog pins (digital i/o pins). Which means only 6,7,8 are available for PWM using SoftPWM. Can the analog pins be used for PWM?. If so, how? If they're digital i/o.

Arthur
ashapiro
 
Posts: 25
Joined: Tue Oct 23, 2012 2:25 pm

Re: Wave Shield and analog pins

by adafruit_support_bill on Mon Apr 01, 2013 4:53 am

Please refer to this post your previous thread on the subject: viewtopic.php?f=25&t=38481&p=190177#p190181
"Analog Pins" are the 6 pins labeled A0-A5. They can be used for reading analog signals. They can also be used as digital pins (as they are in all the WaveShield 6-button examples).


Also here: http://arduino.cc/en/Tutorial/AnalogInputPins
if a user needs more general purpose input output pins, and all the analog pins are not in use, the analog pins may be used for GPIO.
User avatar
adafruit_support_bill
 
Posts: 29177
Joined: Sat Feb 07, 2009 9:11 am

Re: Wave Shield and analog pins

by ashapiro on Mon Apr 01, 2013 8:43 am

Thanks for your patience. I think I have finally figured it out.

Arthur
ashapiro
 
Posts: 25
Joined: Tue Oct 23, 2012 2:25 pm