Thank you Louie, I changed to LATA.1 then got a syntax error due to incorrect port use which I fixed. Now I get eleven lines of "error [177].......__CONFIG directives cannot be used with CONFIG directives" . And the LED still does not blink.

Hebe