Arduino sketch for controlling 8 wire stepper motor as peristaltic pump