Measure of Duty Cicle of a PWM signal

Maybe something like the attached will help as a starting point.

Frequency_Counter.ino (2.73 KB)