Timing

uTimerLib

Tiny and cross-device compatible timer library

Supports Arduino AVR, SAM, STM32, ESP8266, ESP32 and SAMD21 microcontrollers

Go to repository

This library is compatible with all architectures so you should be able to use it on all the Arduino boards.