Arduino/Button
< Arduino
This is the first step you ought to take when learning to talk to your board.
A button and a switch are the same except for the button sends a on signal (Logic 1) only when held down.
The switch on the other hand is either on or off depending on the position of the toggle.