Quote Originally Posted by mister_e View Post
Certainly not a bad idea to begin with a LED blink to see if it's only a crystal or config fuses setting problem.

This PIC also have Analog to Digital converter, which needs to be disabled prior to use I/Os.

Check the datasheet
Code:
ANSEL=0
Yup! , he did say it was working, so I didn't look any farther, those are the problems you encounter when you copy / paste without any experience, GOOD IDEA to write a blinky.