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

mvarchdev
Posts: 2
Joined: Sun Mar 14, 2021 10:20 am

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

Postby mvarchdev » Sun Mar 14, 2021 10:41 am

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.

coyote32
Posts: 11
Joined: Mon Mar 01, 2021 7:22 am

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

Postby coyote32 » Fri Mar 26, 2021 10:02 pm

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.
Regards,
coyote

mvarchdev
Posts: 2
Joined: Sun Mar 14, 2021 10:20 am

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

Postby mvarchdev » Fri Apr 02, 2021 6:55 am

Hey, I tryied it, but LEDC_FADE_NO_WAIT does not works in this function.

coyote32
Posts: 11
Joined: Mon Mar 01, 2021 7:22 am

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

Postby coyote32 » Wed Apr 14, 2021 8:36 pm

Regards,
coyote

Who is online

Users browsing this forum: No registered users and 116 guests