Vaisakhan Ku
Junior Member level 1
Hi all,
Am in a dead confusion, how can I update the value of global variables declared as extern variables in the main function inside the ISR. Am using Mikroc for PIC. consistently i failed to update the value of these variables. I tested and verified that the interrupts are working fine as per the logic designed, but I cant get the values of global variables that gets changed in the ISR. Pls guide me if any came across similar situation, or please suggest any books or website were I can find some more information. :-|:--?::?:
Am in a dead confusion, how can I update the value of global variables declared as extern variables in the main function inside the ISR. Am using Mikroc for PIC. consistently i failed to update the value of these variables. I tested and verified that the interrupts are working fine as per the logic designed, but I cant get the values of global variables that gets changed in the ISR. Pls guide me if any came across similar situation, or please suggest any books or website were I can find some more information. :-|:--?::?: