stop the pwm loop when setting to 0 as that won't cause flicker
trying to have 0 and 100 not be pwm looped without a flicker