Dave Turner wrote: > Sorry. I learned to do it that way, and don't have a clue how to do > it in the source. Use the __CONFIG directive. Not the two underscores. This directive and all the others are described in the MPASM, MPLIB, and MPLINK manual. > Well, what I meant is that my own custom include file, does actually > include the MPLAB include file, so it does end up in the final file. > My include file adds friendlier names, like LED1, LED2, etc. which I > find makes code clearer (well, for me anyway) That's fine. Giving your own project-specific names to I/O pins is a good idea. I've taken this a step further in my PREPIC preprocessor with the /INBIT and /OUTBIT commands. PREPIC is part of my PIC development environment, which is described at http://www.embedinc.com/pic. ***************************************************************** Embed Inc, embedded system specialists in Littleton Massachusetts (978) 742-9014, http://www.embedinc.com -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist