I allready caught the ADCON0 mistake. I decided to try the basics, I set all the pins to digital, hooked 2 switches to port a (internal pull-ups enabled) and two LEDs to portc, when I power up the chip the LEDs come on (they should be off) and the switches don't do anything. I think I may have some defective chips, the funny thing is that all 3 of the "samples" I got do the same thing. I'll have to do some more experimenting on them, but I won't have time till the middle of the week, I'll keep you informed of my results.
Dave
Bookmarks