Interrupts in PBC can only be done in ASSEMBLER. PICBasic itself does not support or handle interrupts. See section 7.3 of the PBC Manual for your limitations.
Refer to the DATASHEET of your PIC in order to discover how to set and enable them.
Read and thoroughly understand the Microchip Mid-Range Reference Manual for the PIC features you intend to use.
Unless you are skilled in Assembler, do not attempt interrupts in PBC.
Since this is a PBC thread, I have moved it out of the PBP Section.
Bookmarks