I am going to tell you how to get 6 extra Arduino digital pins.
I discovered this by playing with the Arduino IDE and tried setting up a LED on pin 14 (which does not exist on the board) And guess what? Analog pin 0 is pin 14!
Remove these ads by
Signing UpStep 1How to get the other analog inputs working too
Pin 14 = Analog in 0
Pin 15 = Analog in 1
Pin 16 = Analog in 2
Pin 17 = Analog in 3
Pin 18 = Analog in 4
Pin 19 = Analog in 5
Unfortunately these are not PWM pins, but you can use the SoftPWM library to get software-based PWM, which is almost as good as native PWM.
| « Previous Step | Download PDFView All Steps | Next Step » |









































" Most of the analog inputs can also be used as digital pins "
they have digital pins up to 53 and analog pins upto 16
http://arduino.cc/en/Reference/PinMode
(watch the note at the end of the page...)