ESP32 Timer-based interrupts not reloading properly
Hi All, Using an ESP32-S3 FN8 on a custom PCB, Im trying to use a timer-based interrupt to frequently adjust settings on an analog-out pin (i. e. , update both frequency of pwm and duration) for a piezo speaker. Each time the timer alarm fires, the interrupt routine should adjust the pwm frequency and also re-arm the timer alarm for the new updated time period. Heres the simplest version of . . .
more
|