Search found 1 match
- Fri May 20, 2022 8:26 am
- Forum: General Discussion
- Topic: ESP32 PWM duty cycle measurement from input
- Replies: 5
- Views: 9503
Re: ESP32 PWM duty cycle measurement from input
Hi, I doing some project to measure 0~5us of displacement of duty of input signal. I used 1 input port to be measure, and two capture module, one captures at rising edge of input signal and the other captures falling edge. Save capture value in rising isr routine in a variable(preValue), and do it s...