Modified Control - checks for the stop condition on PWM values