A.1 is an input to the PIC so it can read the switch state. To turn power off, set A.0 low. At 09:46 PM 6/11/2007, you wrote: >Hi all, >I need to ask for help on something cause I obviously don't know what I'm >doing ;-) > >I took this circuit here: >http://www.pic101.com/pushpush.gif >And I replaced the pass transistor with a P channel FET. I can get it to >turn on and latch with taking the pic pin A0 high, However I can't turn it >off by getting 5V on pin A1. I put a 10K resistor on the A1 line to 5V but >don't get a high. I tried it with the 4.7K from collector to Gate as shown >and without. I tried a 1Mohm resistor from Gate to Source in place of the >10K. No difference in any case. I can't see a 5V signal at A1. Help with >what I'm doing wrong is greatly appreciated. >Thanks, >FJ > >_________________________________________________________________ >Get a preview of Live Earth, the hottest event this summer - only on MSN >http://liveearth.msn.com?source=msntaglineliveearthhm > >-- >http://www.piclist.com PIC/SX FAQ & list archive >View/change your membership options at >http://mailman.mit.edu/mailman/listinfo/piclist -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist