We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
In the manual , example code written intrrupt is : void example(void) interrupt 1 using 2 { ..... ..... } Can someone tell me what is meant by " using 2" there? thanks
thank you Franck. the following is the function name for interrupt pin. "void intr(void) interrupt 0" For this, error appears saying error near void? can you help?
"For this, error appears saying error near void?" (my emphasis) The key word here is near. This probably means that you have made some error before this line, and it's only when the compiler came across the keyword 'void' when it wasn't expecting it that it realised that something was wrong! Look at the preceding lines for things like missing semicolons, brackets, braces, etc...
Not without more information about the surrounding code. The error message can have several meanings (sometimes things as simple as a missing semicolon).