The LED is working if I set PortB.1=1 manually in code.
I have an external 4MHz crystal.

DEFINE OSC 4 should set the frequency. All other code commands work fine like the ADCIN.

If I short out PortA.5 and hold it LOW, then the code should read a LOW on the port and turn on the LED.

Mind boggling.