This is really helpful, and works! Thank you! The Arduino-world attachInterrupt() works just as well for falling edge on the LEDC output pin. Even on a <500ns pulse width.
Thanks again.
Search found 2 matches
- Tue Nov 07, 2023 12:53 pm
- Forum: ESP32 Arduino
- Topic: Use of either LEDC or general timers for very short (<2us) pulses
- Replies: 2
- Views: 2196
- Sat Nov 04, 2023 5:47 pm
- Forum: ESP32 Arduino
- Topic: Use of either LEDC or general timers for very short (<2us) pulses
- Replies: 2
- Views: 2196
Use of either LEDC or general timers for very short (<2us) pulses
Hello! I have been working with an ESP32-S2 board to create a pretty simple, very low duty cycle (1kHz 0.1% duty or less) pulser. The application for this is to drive a circuit that creates very short high current pulses for testing laser diodes. The LEDC peripheral works great for creating these pu...