Question about wiring digital switches.

We need to wire up some digital switches, and we did this last year, but they broke between seasons and we took them off, and I don’t quite remember how to wire them up. I know I need to wire them between the ground and another pin, but I’m not sure of which one it is. Any help on the matter would be greatly appreciated.

Wire them between ground and signal.
Leave off the center power pin.

Sometimes a pull-up resistor is required to keep from getting false, floating, data.

All of the Robot Controller’s digital pins have such a pull-up resistor built in.