Clamped switched to GND if off

Changed the switchs for the arduino so the either clamp the input to GND
(through 10k) or to +5v (instead of clamping them to 5v or leave them
floating