Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

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.

Latest threads

New Articles From Microcontroller Tips

Back
Top