Don't have Telegram yet? Try it now!
https://www.embedded.com/introduction-to-timer-based-measurement/
Introduction to timer-based measurement