Help on momentary push switches in series.

Thot:

retrolefty:
However the simplest method to wire up buttons is to turn on the internal pull-up resistors in your sketch software for each pin you are using and wire a ground to the other side of each of the switches.

Thanks for the quick reply!

I came across this before but I am confused as how it works and how to turn on the internal pull up resistor
Can you give or point me to an example?

Thanks

Sure. The latest arduino IDE has made it even simpler. In your setup function code just have a mode statement for each input pin you will be using as so:

pinMode(pin#, INPUT_PULLUP);

Lefty