Hi Ralph,

Thanks for your reply.

Let me explain a little more about the problem. The "Loop" is just to debug a problem I am having when I first power up the pic. The two input pins used in the program are pulled up through 10K resis. The third input pin (gpio.3) is always an input, and internally pulled up.

The problem I don't understand is why both LED's are ON when I first power up the pic, with no input pins grounded. I set the outputs Low before the "Loop" and yet they are High when I power the Pic up. I have tried other 12F683's with the same results.

Greg