Hi,
See post #141 in this thread:
http://www.picbasic.co.uk/forum/show...ant+interrupts

/Henrik Olsson.