Quote Originally Posted by HenrikOlsson View Post
Hi,
I must admit I'm not sure how or if the comparator interfere with the pins when the pins are configured as outputs. However I can't see the comparator pins being set to digital so it might be worth a try to add CMCOM0 = 7.

I also don't see you setting the pins used to outputs but Darrels original code doesn't do it either so it's probably handles by the LCDOUT statement as normal ir the hijack routine. But again, might be worth a try configuring TRISIO properly.

/Henrik.
CMCON0=7 did the trick! Thank you Henrik and Darrell for your help.

On a separate and unrelated note..........how come Darrell's routines (i.e. Instant Interrupts, Slow PWM, LCDanypin, etc) haven't been incorporated into PBP yet? They must add about 50% more functionality to PBP but I'm surprised they aren't part of the software package.