mb-listener.c
//Interrupt fuction 2 for switch 2
Interrupt fuction 2 for switch 2
Interrupt fuction 2 for switch 2
void interruptFunc_2(void){
        printf("Interrupt Occured 2\n");
        delay(interruptDelay);                             
        boxStatus_2 = digitalRead(SWITCH_2);
        printf("Interrupt End 2\n");
}
void interruptFunc_2 ( void ) { printf ( " \n " ) ; delay ( interruptDelay ) ; boxStatus_2 = digitalRead ( SWITCH_2 ) ; printf ( " \n " ) ; }
Interrupt fuction 2 for switch 2
Interrupt fuction 2 for switch 2
//Level of sensitivity of the interrupt(higher the delay less$