Hi!
I tried to move one of my program from a Atmega328 to a Attiny85.
My program use the timer1 register and I can't get it to work on my Attiny85.
The code below hangs at the while loop. It seems TCNTI is stopped?
TCCR1 = 0; //stop the timer
TCNT1 = 0; //zero the timer
TCCR1 |= _BV(CS12); //set prescaler to divide by 8
while (TCNT1<1000)
{
}