Solarwind, FUSES is another (old?) name for CONFIG settings. Making sure you have them all correct is important. Also, the last source you posted (or at least the last version I saw only "TRIS"ed one port. Please (re-)post the latest version of your C code. It should include TRISing everything, disabling analog inputs and comparators and your CONFIG settings. -- Bob Ammerman RAm Systems -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist