Running two stepper motors at once

Switches are more often wired to ground and an input set to INPUT_PULLUP so that an external resistor is not required. My state change for active low inputs tutorial shows switch wiring and example code.

2 Likes