Arduino Timer value accessing

Hi,
Arduino Uno has 3 timers: Timer0, Timer1, and Timer2. Is it possible to access the counting value of the timers at any instant?

Indeed

Use macros TCNT0 for TIMER0 counter, and TCNT1 & TCNT2 for Tim1 and Tim2

See sections 15 - 18. Everything you'd ever want to know about the timers.
All of the registers are accessible by macros like the ones @b707 pointed out.

Thank you. It works

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.