Use Arduino to Run 24v Motor with Microswitch

azor32:
Testing the microswitch with a multimeter, it read a closed circuit when the button was or wasn't pressed.

If you are checking continuity (ohms) from COM to NO then it should be open when not pressed and closed when pressed. If this is not the case, then the switch is kaput. (You should also check COM to NC with the opposite actions on the switch)