This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

doubts

hello everyone,
I am writing a code in which, a variable is used in interrupt routine as well as in while(1) loop
I am changing that variable value in interrupt and in while(1) loop
I am confused, while handling it
how can I avoid clashes occurred in interrupt as well as in while(1) loop

another doubt is, if in c language, I want to change the value in a certain location say 0x1234H then how is it possible?

thank you all
take care

0