Controlling stepper motor with Polulu drivers (A4988, DRV8825), C++ class for Arduino