HI;


Try put this on the header, before the oscilator Define, and them test!
@ __config _HS_OSC & _LVP_OFF