On Sun, 7 Feb 2010, Jason Hsu wrote: > I'm having difficulty with code that worked fine in MPLAB v8.10 and > HI-TECH C PRO v9.60PL3 (free version) in Windows XP. > For the complete code, go to http://www.jasonhsu.com/swrwatt-c.txt That code couldn't have compiled before. It has a missing } in the delay_1_msec function. Also, get rid of the #define __16F72. The compiler sets that for you. -- John W. Temples, III -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist