I have a timer which increments by one every 256 cycles. Is there a way that i can get the value from TCNT0 at the point it is called.
I am using AVR Studio 4 and have tried using ldi temp, TCNT0
but i always seem to get 32 which is its address.
Thanks