Thanks guys,

Just returned from my vacation!

>leisryan: I tried your suggestion but I get two warnings compiling and the PIC hangs if I program it despite the warnings.

Is there no possible way to set the CONFIG1 (FOSC) bit 4, 1 and 0 to (%1XX00) in the code without disturbing other settings?

Thank you!