Problems with the interrupt service of the ledc API

Deiikerc
Posts: 1
Joined: Fri Sep 20, 2024 5:05 pm

Problems with the interrupt service of the ledc API

Postby Deiikerc » Fri Sep 20, 2024 5:09 pm

I need help with the ledc API, I'm generating a pwm at 5Hz with 8-bit resolution and a 20% duty cycle, I'm trying to generate the fade-end interrupt, but when I enter the interrupt, it doesn't seem to exit it, it gets stuck, does anyone have any idea why or any example of how to do the setup correctly?
Ledc API v5.3.1
Esp32-devkit v4

lbernstone
Posts: 828
Joined: Mon Jul 22, 2019 3:20 pm

Re: Problems with the interrupt service of the ledc API

Postby lbernstone » Sat Sep 21, 2024 1:55 am

https://github.com/espressif/arduino-es ... DCFade.ino
Post your code if you would like some help with it.

Who is online

Users browsing this forum: No registered users and 81 guests