Code for driving motor using Stepper drive with Pulse and Direction pins.