Quick MikroC interrupt question

Status
Not open for further replies.

Dalaran

New Member
What is the identity used to call the interrupt service routine in MikroC?
Code:
void interrupt my_isr(void){
}

That I used in MPLAB is not working.

Thanks.
 
Code:
void interrupt()
{

}
should work fine.

Did you download all the MikroC code examples for your EasyPIC6? They may already be in your MikroC Pro directory.

It is REALLY worthwhile, there are very simple C examples of every hardware peripheral etc. There are also interrupt examples for each fo the timers.
 
Last edited:
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…