Page 1 of 1

Ledc driver bug, after fast switching between 0% and 100% duty with fade, the leds stays on

Posted: Sun Mar 14, 2021 10:41 am
by mvarchdev
Hello, I have a problem here, can you please look someone on it? I have openned git bug report: https://github.com/espressif/esp-idf/issues/6710

Thanks in advance.

Re: Ledc driver bug, after fast switching between 0% and 100% duty with fade, the leds stays on

Posted: Fri Mar 26, 2021 10:02 pm
by coyote32
Try ledc_set_fade_time_and_start instead of ledc_set_fade_with_time + ledc_fade_start. This two are not working well if call them more often then the transition time.

Re: Ledc driver bug, after fast switching between 0% and 100% duty with fade, the leds stays on

Posted: Fri Apr 02, 2021 6:55 am
by mvarchdev
Hey, I tryied it, but LEDC_FADE_NO_WAIT does not works in this function.

Re: Ledc driver bug, after fast switching between 0% and 100% duty with fade, the leds stays on

Posted: Wed Apr 14, 2021 8:36 pm
by coyote32