Strictly necessary cookies are on by default and cannot be turned off. Functional, Performance and Tracking/targeting/sharing cookies can be turned on below based on your preferences (this banner will remain available for you to accept cookies). You may change your cookie settings by deleting cookies from your browser. Then this banner will appear again. You can learn more details about cookies HERE.
Strictly necessary (always on)
Functional, Performance and Tracking/targeting/sharing (default off)
I know that there are lot of topic about it, but I didn't find a good one which works. I would like to measure the signal PWM from a receiver R/C. The high pulse duration is between 1ms-2ms with a frequency of 60Hz
I try to use a timer but I don't achieve to get a good value.
I put a timer in UDB but I don't understand what should I use.
I want to start the timer when I have a rising edge, and go to an interrupt when I have a falling edge, after in my interrup I read the timer, obtain the duration and reset the timer
But there are too much pins and I don't know what to choose and connect: