Set the PWM values only once or continuous if specified