Yes I checked all the paths lots of times. Funny thing is simulation yields to same result as well... Very annoying... On Mon, Oct 24, 2011 at 11:00 PM, Vicent Colomar Prats wrote: > Have you checked your PCB connections? Do you use a pull-up or direct > connect to Vcc? Good solder joints? When you left an open unconnected pin= to > float, it can activate and deactivate randomly. Also, sometimes is good > practice to have a kind of debounce system( can be done with a simple del= ay > after output change) > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .