My first guesses would have to be that you're maybe exceeding the specced max current for the chip/ports? Also, I think it might be considered bad practice to connect multiple LEDs to the same resistor, but I might be wrong about that. Regards, - Marcel -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist