Pulse width modulation and stepper motor modules