modified pwm pulsing control of LED