Arduino Sketch to convert Hall pulses (speed) to control a stepper motor in an analog speedometer