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
"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...