/********************************************************************************
                                TMR 0 Initialization
********************************************************************************/
void TMR0_init( void ){

    // enable timer overflow interrupt for both Timer0 and Timer1
    TIMSK0=(1<<TOIE0) 
    // set timer0 counter initial value to 0
    TCNT0=0x00;
    // start timer0 with /1024 prescaler
    TCCR0B = (1<<CS02) | (1<<CS00);

    // enable interrupts
    sei(); 

}