solarwind wrote: > Also, why would Microchip not include these in their example code? And > why did it work in real life perfectly? > 1) They did - look at the datasheet 2) I am skeptical that the code as presented actually worked as you think it did in the actual PIC. Try blinking the leds instead of just setting them. Sometimes you think you are turning a led on when something else is happening electrically. If you blink them, then you can tell for sure that you're setting them and then clearing them instead of just seeing them turn on as a side effect of the pic powering on. -forrest -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist