
void init_ir_int(void)
{
        /* initiate the hardware for IR cocommunication in interrupt
         * mode */
        /* Enable timer 2 in capture mode */
        T2CON |= 0x01;
        EXEN2 = 1;
        EA = 1;
        ET2 = 1;
}
