Search found 2 matches

by jlderoui
Thu Nov 12, 2020 10:04 pm
Forum: ESP32 Arduino
Topic: LEDC and ISR in Arduino
Replies: 4
Views: 5814

Re: LEDC and ISR in Arduino

The basic LECD function in Arduino don't seem to allow manage LECD ISR. I therefore looked at using ESP IDF since it seems to work under Arduino. I put a simple test program but have issues with the ISR option (see below). When setting ledc_channel.intr_type to LEDC_INTR_FADE_END, it does compile bu...
by jlderoui
Thu Nov 12, 2020 12:20 pm
Forum: ESP32 Arduino
Topic: LEDC and ISR in Arduino
Replies: 4
Views: 5814

LEDC and ISR in Arduino

Hello, Noob with ESP32, I am trying to write a sound library using LEDC. I want to use LEDC as a 1 bit D/A, sampling a waveform table. Therefore I need to change the duty cycle every time the counter reaches the duty cycle ( overflows). I did not find how to setup LEDC to call an ISR function in Ard...