Quote Originally Posted by Ioannis View Post
Maybe you mean x2 instead of divide by 2.

Ioannis
Hi, Ioannis

No, no ... it's not an error : if you divide the pulse train per 2 ( D Flip-flop ...) ... the High or low pulse you get @ output has the exact rotation period ... ( remember how you did that with ol' 74 or 4000 logic chips ... )
rising edge fires the counter ... falling edge stops it.

easy then to care with an IOC interrupt stubb ...


Best Regards
Alain