You can look over the button examples halfway down on this page:
http://www.ladyada.net/learn/arduino/lesson5.html
specifically, the pull-down resistor
You can look over the button examples halfway down on this page:
http://www.ladyada.net/learn/arduino/lesson5.html
specifically, the pull-down resistor