On 16/03/2011 17:23, RG wrote: > I tries also with "htc.c" in this case the error is: Error [195] > d:\Programmi\HI-TECH Software\PICC-18\PRO\9.65\include\pic18f1xk50.h; > 16.42 expression syntax > > but if I configure another chip e.g. Pic18f4550 or Pic18f1220 all runs Ok > > Sincerely > Renzo > With Hi-Tech as mentioned you should be able to just put (not=20 htc.c) If you use includes in the project folder use "xxxx.h" (rather than=20 angle brackets which search in the default path specified) IIRC the 18F13K50.h will be included in pic18.h which in turn is=20 included in htc.h. I just checked in my Hi-Tech inculed folder and FWIW=20 the correct file name is pic18f1xk50.h You can check in your Hi-Tech directory under /include to make sure it=20 is there - you need to make sure that MPLAB is pointing to the correct=20 path for the include files; under Build Options->Directories (set drop=20 down list to include directory and add the correct path) or Set Language=20 Tool Locations. --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .