Dave Turner wrote: > On a whim, I decided to add some stuff into the program to turn an led > on and off whenever the program loops. The LED takes about 30 secs to > toggle, when before it took about half a second. Shouldn't it be a > lot faster, because now I'm (supposedly) using an 8mhz internal osc, > instead of the external 3MHz osc? If that was the only change, yes. However this proves that it wasn't the only change or that something else is seriously different from the way you think it is. How about starting from scratch with a new project? Disable case insensitivity, use the Microchip include file, and don't define any of your own SFR and bit name symbols. Write code with a known number of cycles in a delay loop and use that to blink an LED. Proceed to the next project only after the LED blinks at the expected rate. ***************************************************************** 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