Hi, Amoque

Here we meet the precision problem with reciprocal calculations ....

sooo ... I would suggest, depending on the pulse count or the pulse duration, to choose the value that gives the minimum error to the result.

I.E. ... @ low speed, let's consider pulse duration ( big number gives better resolution ) and @ High speed let's consider the pulse count.

But ... as our "friend" didn't tell what he wants to measure ( snail or car racing ??? ) ...

Alain