Piece of @#$#@!!!


Well that was easy enough. Stupid pic.

I was about 3 cuss words away from going out for cigarettes. I've been spinning my wheels on this problem since early yesterday morning. It seems having a note about this somehwere in the oh...... PORTA section would have been helpful. "Confure them as inputs this way, disable the ananlog ANSEL, yep, and oh by the way.... the comparators are installed to be in your way by default, make sure you set that register also". Blah!!


Okay, thanks guys - and thanks so much for the quick response. I really was at my witts end here. I was starting to wonder if I had a bad batch of PIC's or something, or if I'd managed to zap them somehow.

It's all good.


BTW for anyone else reading this:

CMCON0 = %00000111 'Turn off comparators (CMCON0.0:2 = 111)

is the solution