Hi, I am sure this a newbie question but I don't know where I can find the answer.
I don't know how to change a variable inside an interrupt I've created.
The problem is that keil give an error of non-defined for any variable wich I modified inside my interrupt function that I've declared on the main program.
I've proved to create the same variabble inside the function interrupt code but it gives another error.
Can anyone tell me how you can create a variable that can be modified in the interrupt function and in the main program?
Thanks.