groundfungus:
Or ditch the pull down and wire the switch from ground to the input and enable the internal pullup.pinMode(pin, INPUT_PULLUP);
The switch will read LOW when pushed.
What are the drawbacks of this method - it will consume more energy I guess?