Hello, this is my first time building anything electrical. I've made a build attached to a hand sanitizer stand so it can stand vertically. Attached are the wiring diagram, build, and code. When I upload the code and press the tactile button to close the circuit to pin 11, nothing happens. I already checked to see if the motor is wired correctly. The colors match the documentation and when plugged in it cannot be manually turned and emits a constant low buzzing noise. I can't figure out what's wrong. Also, whenever I press the tactile button, pin 13's LED lights up for some reason...
24V power supply. I followed the wiring colors for the stepper motor as shown in the third picture. Additionally, the top right LED of the DM542T stepper motor driver is lit up, so I don't think that is a problem.