D Dalaran New Member Jan 8, 2010 #1 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.
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.
Mr RB Well-Known Member Jan 9, 2010 #2 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: Jan 9, 2010
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.
M makri New Member Jan 10, 2010 #3 Hello Interrupt handling is very easier in CCSC, I am using both Mikroc and CCSC. Before Using interrupt() function in Mikroc, you have to enable GIE and the particular setting need for your interrupt. makri Linux and Microcontroller Tips
Hello Interrupt handling is very easier in CCSC, I am using both Mikroc and CCSC. Before Using interrupt() function in Mikroc, you have to enable GIE and the particular setting need for your interrupt. makri Linux and Microcontroller Tips