Quote Originally Posted by g7jiq View Post
You don't know whats going on?? I wish I knew..

The only thing I keep going back to is the resistors,,,
By the way the i/p is being driven via an opto isolator (it seems to be a clean 5v to 0v switch)

Cheers
Dave..
Dave, do you really need to invoke the WDT ?
Also, I have had problems with the MCLR define (in MPLAB, not picbasic) working inversely. When set to off it needed a pullup ! Bizarre


Chris