Nema stepper motor driver, With code examples and wiring diagrams