Кусок работающего кода
Код
#include <iom8.h>
#include <ina90.h>
#pragma vector=TIMER1_COMPA_vect
__interrupt void TIMER1CM()
{
}
int main()
{
TCCR1B=(1<<WGM12)|(1<<CS12)|(1<CS10);
OCR1AH=0;
OCR1AL=1;
TIMSK=(1<<OCIE1A);
__enable_interrupt();
while(1);
}