Finally got a working stepper motor!