Hello everyone, I wrote a program that works with a single interrupt. I want use two interrupt ports in the same time. The following is my code. Please tell me what I am doing wrong since this does only work for I2.
HERE: JMP HERE
//Do routine 1
I2: //Do routine 2
Thank you very much for your time and attention.
What I am trying to accomplish here is, when PD2(int0) goes low - perform I1
when PD3(int1) goes low - perform I2