I'm trying to make a circuit that will latch on\off with a pushbutton. This is what I have, but the LED just stays on even though the current shows the latch is working. Thoughts? Thanks :)
S1, below, is a SPDT (Form C) momentary pushbutton switch, and you can get rid of all that circuitry with a single chip, like this:
On second thought:
You have drain and source swapped on Q4, your output P-channel MOSFET. The body diode is passing current regardless of the state of the gate.
This guy seems to work. Thanks guys :)