Control PWM motor running time with millis