Timeline for PIC16f xc8 compiler : unknown pragma "code", "interrupt","chk_isr"
Current License: CC BY-SA 3.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 23, 2014 at 13:23 | comment | added | Kulbir Singh | I appreciate that :) | |
Sep 23, 2014 at 13:16 | comment | added | GER_Moki | I don't have this PIC here, so can't give it a try. I will have a look later :) | |
Sep 23, 2014 at 12:58 | comment | added | Kulbir Singh | ok now there are no warnings and errors. I've made few changes in the interrupt function tell me if am wrong. void chk_isr(void); unsigned char disp=0,rf=0; void chk_isr(void) { if(CCP1IF==1) CCP1_ISR(); } void interrupt Hi_Prio_Int(void) @ 0x0008 { chk_isr(); } but unfortunately the code is not working on kit. | |
Sep 23, 2014 at 10:51 | history | edited | GER_Moki | CC BY-SA 3.0 |
added 6918 characters in body
|
Sep 23, 2014 at 9:57 | comment | added | Kulbir Singh | yes i am sure. this is the same code | |
Sep 23, 2014 at 8:44 | comment | added | GER_Moki | Are you sure, this is exactly the same code you posted above? | |
Sep 23, 2014 at 7:31 | comment | added | Kulbir Singh | I truly appreciate your help. I've made changes as you suggested. Now since yesterday am getting two warnings on "CCP1_ISR" function. First warning points to "rising();" while second warning points to "falling();". And two errors on "void rising()" function. Both the errors points to the curly brackets in the function. "Warnings: function declared implicit int" and "Errors: type redeclared and conflicting declarations for variable "rising"". | |
Sep 23, 2014 at 6:47 | history | answered | GER_Moki | CC BY-SA 3.0 |