#define led_live PORTD.6
...
unsigned int cntr = 0; // timer divider
...
interrupt [TIM0_OVF] void timer0_ovf_isr(void)
{
// Place your code here
// 10 ms
TCNT0 = 0x64;
cntr = cntr + 10;
if (cntr == 500)
{
led_live = ~led_live;
cntr = 0;
}
}