Tactile Switches

The two tactile switches are connected to Arduino pins 38 and 39, both active high. This means that the pins are at +5V when the switch is pressed, and at 0V (Ground) otherwise.

evive Tactile Switch Pushbuttons

Note that pins 38, 39 are pulled low, i.e. they will be at 0V (and not floating) when the switch is not pressed

The test code for the tactile switch is given below: