dude! I've solved this problem
It's because those calculations in the example code uses integer division so the detail of the number is discarded, use some float calculations and It will be smooth as you wish
!!!Search found 2 matches
- Sat Jul 10, 2021 7:59 am
- Forum: General Discussion
- Topic: ESP32 MCPWM Input Capture Problem
- Replies: 7
- Views: 11863
- Sat Jul 10, 2021 3:57 am
- Forum: General Discussion
- Topic: ESP32 MCPWM Input Capture Problem
- Replies: 7
- Views: 11863
Re: ESP32 MCPWM Input Capture Problem
Dude I have the same question. why 125us? the timer frequency capture uses is 8khz? why it's not 80M as same as the apb clock 8khz is totally not enough for a coder capture!