I changed timer0 to timer1:
TIMSK1 |= (1<<TOIE0); // Overflow Interrupt enable
TCCR1A |= ((1<<CS00) | (1<<CS02)); // Prescaler 128
TCNT1 = 0;
With this changes I am able to compile the code, but it seems not to be working.
I guess the problem lies within the prescaler or so because this code is from a tutorial for a "ATMega128 with 14,745600MHz" as said in the tut.
I am using the Arduino Dueminlanove - so this is a ATMega328 right? I tried to get some information from the Atmel Datasheet but was not able to figure it out.
Would be nice if someone has a clue.