OK, this is one of those incredibly basic questions that I am embarrassed to ask... I'm looking for a self latching circuit that can operate with a normally open switch and hopefully pull a 5 volt line low. I can trigger it with either pulling the trigger to ground, or supplying 5 volts to the trigger as there is nothing preventing me from wiring the switch any way that is needed. I'm also looking to do this with the smallest parts count, hopefully a single chip to do everything as opposed a few resistors and a few transistors.
The output of pulling a 5 volt line low is pulling an I/O pin low so current shouldn't be an issue.
push switch, pull data line low
push switch again and data line goes back to high or floating
Can anyone recommend a chip to do this?