Thank you for all of your suggestions. I resolved my problem by bypassing it entirely. Instead, I'm using the delay functions in the file. It was much easier to just follow the example in the samples directory that came with the PICC software installation. It's hard to argue with the successful record of the HTSOFT/PICC developers, so I'm using their delay routines instead of creating my own. All I had to add to the beginning of the program was: #define _XTAL_FREQ 3579450 // Provide the frequency of the crystal, necessary for using the delay functions #include // Needed to access the delay functions. I used the following commands to call the delay function in my program: __delay_us(20); __delay_ms (10); -- Jason Hsu http://www.jasonhsu.com/swrwatt.html http://www.jasonhsu.com/swrwatt-c.txt http://www.jasonhsu.com/swrwatt-asm.txt -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist