Search found 1 match
- Fri Jun 10, 2022 3:40 pm
- Forum: General Discussion
- Topic: Change LEDC frequency and pwm on the fly without glitches
- Replies: 5
- Views: 7184
Re: Change LEDC frequency and pwm on the fly without glitches
Hi, I had the same problem. I dug in to ESP IDF source code to figure out what the problem is. I found out that calling "ledc_set_freq" to change the frequency always resets the timer which is the source of the glitches. Basically this means that even for high speed timer which is glitch free you wi...