I’m creating a circuit and one of the controls is a tactile SPST switch where the common is connected to VDD. What I’m trying to do is to have some SPDT where its common is connected to a multiplexer’s select and the NC and NO are connected to VDD and GND, respectively. I’ve been trying to figure out a way to control this MUX with just the SPST tactile switch in a way that the SPDT will switch any time there is a HIGH signal from the SPST. Any ideas?
I’ve thought about using latches to store the latest value but I’m not sure how to implement my idea with just a physical SPST and switch IC’s. I’m looking to explicitly only have one physical tactile switch that every time you press it, changes the analog SPDT direction.
TL;DR How to create an analog latching SPDT that switches anytime an SPST, connected to VDD, is pressed.