# Part suggestions

**URL:** <https://forum.digikey.com/t/part-suggestions/18046>\
**Category:** Integrated Circuits (ICs)\
**Tags:** logic, part-identification\
**Created:** [November 19, 2021, 12:03am UTC](https://forum.digikey.com/t/part-suggestions/18046 "2021-11-19T00:03:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![user88](https://avatars.discourse-cdn.com/v4/letter/u/d07c76/32.png) [@user88](https://forum.digikey.com/u/user88)\
**Post date:** [November 19, 2021, 12:03am UTC](https://forum.digikey.com/t/part-suggestions/18046/1 "2021-11-19T00:03:04Z")

</div>

I want a part that has one input wire and two possible ouputs. This part will be constantly receiving a zero, and will start outputting zero. When I send this part a 1 I want the output to switch to a 1 and stay there even though the part is receiving zeros. So now that the part is outputting 1 and is receiving zero, once I send another 1 I want the output to switch to a zero. I essentially only want the output to switch what it is when this part receives a one, and then I want it to hold that output.

---

<div class="post-metadata">

**Author:** ![PaulHutch](https://sea2.discourse-cdn.com/digikey/user_avatar/forum.digikey.com/paulhutch/32/3357_2.png) [@PaulHutch](https://forum.digikey.com/u/PaulHutch)\
**Post date:** [November 19, 2021, 1:32pm UTC](https://forum.digikey.com/t/part-suggestions/18046/2 "2021-11-19T13:32:59Z")

</div>

What voltage and current levels do you want?

What’s your target price?

---

<div class="post-metadata">

**Author:** ![Verna\_1353](https://avatars.discourse-cdn.com/v4/letter/v/fbc32d/32.png) [@Verna\_1353](https://forum.digikey.com/u/Verna_1353)\
**Post date:** [November 19, 2021, 6:14pm UTC](https://forum.digikey.com/t/part-suggestions/18046/3 "2021-11-19T18:14:17Z")

</div>

Hello,

Thank you for contacting the Technical Forum.

That is one of the ways to use a [Flip Flop](https://www.digikey.com/en/products/filter/logic-flip-flops/706?s=N4IgjCBcpgHAzFUBjKAzAhgGwM4FMAaEAeygG0R4A2AJgAZ4aQiAWMKlgVgHYQBdIgAcALlBABlYQCcAlgDsA5iAC%20RKp05IQqSJlyES5SrACcdGrGbGzbfkNGQJ0%20UtUgAtCa07pAVwOkkBQQfG7uTNDaUH4BRl5EmqFE7lTe0VL%20RIEUiEkeEJE6evhZRmDcNLxENCapocrKQA). You turn it into a “Toggle”, or “T”, flip-flop by tying J and K to logic “1”, tying “S” and “R” to logic “0”, and using the clock pin as the input. (Note, some flip-flops have inverted logic on some of these pins, like 1), so you would tie it low rather than high for this application).

Every time the clock sees a positive-going edge (zero to one transition) the output changes to opposite of previous state.

![image](https://global.discourse-cdn.com/digikey/original/3X/3/8/38d5144d9fa8ee1423904ebec636f241e26b18e6.png)
