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...