Capturing timer value based on external interrupt , leveraging the 62.5nsec (16MHz) resolution) of the ATMEGA328 on the Arduino Uno

Good discussion of _BV and bit() here
https://forum.arduino.cc/t/bit-versus-_bv/267975

Nick Gammon explains his preference for bit() in reply #4.

1 Like