timer0_set

Timer0 PWM0

Fri, 2018-01-05 11:08--Ruchi Patel

亲爱的Dialog_Support,

I am using timer0 pwm0 to operate and control LED brightness using timer0_set(uint16_t pwm_on, uint16_t pwm_high, uint16_t pwm_low); function. If i give timer0_set(0xFF, 0XFF, 0) then also my LED is not getting ON fully. Then i have used timer0's PWM1 then LED should fully turn OFF when i call timer0_set(0xFF, 0xFF, 0) but my LED is not going to OFF fully. LED glows at 5-10% brightness. And if i call timer0_stop function, then LED turns OFF fully. What could be the reason?

Subscribe to RSS - timer0_set