12 mm knob 4 pin Basic Digital I/O: Slide Switch, Push Button
The slide switches are also known as single throw-double pole (STDP) switches, because only one switch (or throw) exists, but two positions (or poles) are available (a pole is an electrical contact to which the switch can make contact). These switches can be set to output either Vdd (when the actuator is closest to the board’s edge) or GND. The push button switches are also known as “momentary” contact buttons, because they only make contact while they are actively being pressed—they output a GND at rest, and a Vdd only when they are being pressed. The figure below shows typically push button and slide switch circuits used on Digilent boards.