Digital analog inputs?

Hello. Can you use the analog i/o on the Arduino as Digital i/o? Because I'm running out of digital pins on my Uno, and I would like more pins without buying a Mega or complicated programming. Can you help me?

Hello. Can you use the analog i/o on the Arduino as Digital i/o? Because I'm running out of digital pins on my Uno, and I would like more pins without buying a Mega or complicated programming. Can you help me?

Read the Reference, DigitalWrite. The answer is yes.

The analog pins can be used as digital pins - numbered 14 through 19 (or aliased as A0 through A5).

All righty then. Thanks :)

http://arduino.cc/en/Reference/DigitalRead