Using the hardware counter in Arduino

Yes.
But It blocks other all processing code during measurement.
I don't like the use of blocking code.
Also, the input capture by the hardware timer is clearly accurate than that.
And It doesn't block other processing during measurement.

1 Like