Hi all, a barely experienced mechatronics student here who's decided it's high time to actually start building things that do fun stuff! 
(BTW just in case, apologies if this is in the wrong forum or has been asked many times before)
For one particular project (I think) I need to use a flip flop IC, which needs to change its output based on two micro-switch inputs. Ie, any time you click one microswitch, it will make the IC output 0, and clicking the other will change it to 1.
The one that causes the output to be 1 seems simple enough - just send a pulse through the D and clock inputs at the same time when the "1" microswitch is clicked, but I don't know for certain how to ground the D input by default to make it 0 when the "0" microswitch is clicked (which would just pulse the clock input alone).
I have a feeling it's something simple like connecting the D pin to ground through a resistor, but I don't have the parts yet so I can't experiment, and after hours of searching don't have a clue of the terminology so I can't find any theory behind it.
Thanks in advance for any help! Wish I'd found this site a loooong time ago.
(BTW just in case, apologies if this is in the wrong forum or has been asked many times before)
For one particular project (I think) I need to use a flip flop IC, which needs to change its output based on two micro-switch inputs. Ie, any time you click one microswitch, it will make the IC output 0, and clicking the other will change it to 1.
The one that causes the output to be 1 seems simple enough - just send a pulse through the D and clock inputs at the same time when the "1" microswitch is clicked, but I don't know for certain how to ground the D input by default to make it 0 when the "0" microswitch is clicked (which would just pulse the clock input alone).
I have a feeling it's something simple like connecting the D pin to ground through a resistor, but I don't have the parts yet so I can't experiment, and after hours of searching don't have a clue of the terminology so I can't find any theory behind it.
Thanks in advance for any help! Wish I'd found this site a loooong time ago.