robtillaart:
- if you measure time of the last round (2nd) the accuracy depends on the duration (especially when using integer math)
By reducing the scale you measure, like using micros instead of millis, you can increase the accuracy.
It is like measuring your height as integer, meters will not be as accurate as millimeters.