No I have in incoming signal that has a duty cycle from 0 to 100%. The signal is running a motor. 0% duty cycle is motor not running at all. 100% duty cycle the motor is running full speed. I want to measure the duty cycle controlling the motor. Frequency is 125 hz for this incoming PWM. When the PWM is between 0 and 100% duty cycle I am good to go. When it is either 0(low all the time) or 100(high all the time) the overflow occurs.
Bookmarks