Hi all, I am working with a PIC 18C452, and am new to the PIC. We want most of the code base to be in C and I am using MPLAB-C18 on a PC to accomplish this. I was wondering if there is an "easy" way (besides linking in an ASM module, btw, this is the way I am doing it now) to set up the CONFIG bits in C? I have tried the obvious of just using __CONFIG to do it, but, as expected, that gave an error... :) I have also searched the directories that MPLAB and MCC were installed in for files containing references to config bits, and came up with only assembly entries. Any help would be great! Thanks, Jeff Meyer. -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu