Hi sgufa,
Quote Originally Posted by sgufa View Post
How to stop the pic working when 1 input goes high? And how to make it resume when the same imput goes low? Please help me...
You could try the sleep command. Don’t forget the watchdog timer, make sure it is turned on.

Wake up little PIC!
http://www.picbasic.co.uk/forum/showthread.php?t=6377

Permanent sleep
http://www.picbasic.co.uk/forum/showthread.php?t=3128

Try searching the forum for sleep.

Hope that helps,
-Adam-