Harry H. Arends wrote: > Using the following construction MPLAB MPLAB is a IDE, not a assembler or compiler. > it retursn a error: What error? You haven't even told us what language you're using. > Ifdef __PIC685 > > INCLUDE "P16F685.INC" > > Else ifdef __PIC628 > > INCLUDE "P16F628.INC" > > Else > > INCLUDE "P16F84.INC" > > Endif This is pointless until you provide the proper information. This is like going to your mechanic and complaining that the light comes on without telling him which light or the model of your car. ******************************************************************** Embed Inc, Littleton Massachusetts, http://www.embedinc.com/products (978) 742-9014. Gold level PIC consultants since 2000. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist