Using analog in to read a push button I'm working on a project in which I use a lot of the pins on the Arduino;  I have run out of most of the pins and and I need to read the value of a push button.

Is it possible to read the value of the switch in the analog in pins on the board??

If so how can I implement this?
Is it possible to read the value of the switch in the analog in pins on the board??


Yes. Analog input pins are also digital IO pins. You can use them exactly the same way as all the other pins on the board.