hi
i am trying too use two external interrupts of 8051 so i wrote a code for that but only interrupt 0 is executing but interrupt 2 is not.
i am just enabling timer 0 interrupt ex_intr1 and ex_intr2.
project details is as follows
1) Start the timer and ex_intr1 with ex_intr high priority.
2)till the timer overflows increment the variable in ex_intr1 isr and then display it on a lcd
3)If the count value is less then 64 or greater then 85, wait for some time say approximately 5s.
4)if within 5s ex_intr2 is generated then stop waiting and go to step 1
5)if there is no interrupt within 5s then display some text and go to step1.
this what i want to do. i have written the code everything is working except the ex_intr2.
i am attaching the code. please help thank you in advance.