Hi Dave,

It didnt work, still gives me the same error.

I am just worried that my header it is not correct, it looks like this:

Code:
DEFINE OSC 4
 @ __config _INTRC_OSC_NOCLKOUT & _WDT_ON & _MCLRE_OFF & _CP_OFF  
 
    cnt VAR BYTE
    delay var byte
etc....
But It looks something is missing.....

I dont know....anyway, thanks all for you help.

Best regards.
Frank.