I'm making a binary input button pair with one or "1" and the other for "0" and load this input into a shift register so I need to have from these 2 buttons a persistent line for data either "1" or "0" as well as a clock signal to load the register. The clk pulse is simple since all I need is to debounce both the switches and wire them both directly to the clk pin, the pulse will be generated when the button are pressed (or released)
I'm at a loss as to how to have either a persistent "0" or "1" so when the pulse from the clk comes data can be loaded into the register.
I understand that you need a mux and/or a flip flop to achieve this but I can't figure out the wiring for the life of me.
Thank you.