int main(void) { //set RB5 as output DDRB |= 1 << DDRB5; //call TMR0 initialization function init_TC0(); //enable interrupt sei(); while (1) { //main loop } }