Rikard Bosnjakovic wrote: > See the attached schematic. Use one resistor/LED. And where are the values of all components ? > All analog inputs are turned of (ANSEL and ANSELH are cleared), the > TRIS-regs are correct, comparators are disabled, vreg is off, pull-ups > are disabled. Hard to verify for us who can't see the code... Write the shortest possible test-case that shows the problem and post that (not your full app, just a short code that shows the problem...) Jan-Erik. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist