MMhh.. Yes I have unused pic pins, How I can Integrate this circuit (and gate & inverter) in my program