Quote Originally Posted by paul borgmeier
Add
Code:
CMCON0 = 7
(see datasheet)
Isn't that the same as CMCON0 = %00000000, and isn't that the power up default values anyway? If you haven't noticed, I'm new at this :-) Thanks for any help.

About the clock issues, PBPs smallest value is 4mhz for the compiler. I have no choice on that one. The only impact for my program is my pause statements.

Also, I am setting the intoscio in the fuse configuration.

As far as having to tie inputs to ground or vdd, why is it only pin PORTA.2 that is giving me trouble?

I have a feeling it has to do with the external interrupt function on that pin, but it should be disabled by default no?

Thanks again all, your help is much appreciated.