The switches I built are wire coils attached to the fingers of a glove. They consist of a wire coil connected to +5V and attached to the index finger of the glove. The step switch is a wire coil attached to the inside of the thumb, and the reset switch is a wire coil attached to the outside of the thumb. The switches are coils to increase the contact area and make them easier to “depress”.
The switches are connected to digital pins 5 and 6, via a pull down resistor to force the pins to always register low when the switch contacts are not engaged.
Details on implementation are in the code comments, but one trick I used when doing the counting task (where the LEDs represent bits in a binary number) was to use bit shifting to isolate individual bit values and then set the appropriate LED states. The 3 LED numbers were also put in an array to simplify the code used to access them.
Arduino Sketch: MTI_digital_IO