<div dir="ltr"><div>A set reset latch will do just what you are asking for. You can build your own with cross coupled Nand gates or you can plop down a ready made one. The 74LV00 is a 3.3v quad Nand in a 14 pin DIP. With this you can make 2 S-R latch's.<br>

<br>Digikey has the  74LVC574 available for $0.59 each in 20 pin DIP which gets you 8 of them in a pack. <a href="http://www.digikey.com/product-detail/en/SN74LVC574AN/296-12910-5-ND/476078">http://www.digikey.com/product-detail/en/SN74LVC574AN/296-12910-5-ND/476078</a><br>

<br></div>Glen<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Apr 10, 2014 at 8:55 AM, Grawburg <span dir="ltr"><<a href="mailto:grawburg@myglnc.com" target="_blank">grawburg@myglnc.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I'm making a traffic light project for the Raspberry Pi using an MCP23017 port expander. The Python code works fine and lights up the<br>


6 LEDs in the correct pattern. Now I want to add some other features and need a way to "latch" a device that is connected to one of the<br>
input pins on the MCP when I press a push button. It needs to remain high until specifically set low by a Python command. Perhaps there is<br>
some type of solid state device (3.3 VDC) that will function in this manner.  <br>
<br>
<br>
Brian Grawburg<br>
Wilson<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
I use Opera Web Browser.<br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
Triangle, NC Embedded Computing mailing list<br>
<a href="mailto:TriEmbed@triembed.org">TriEmbed@triembed.org</a><br>
<a href="http://mail.triembed.org/mailman/listinfo/triembed_triembed.org" target="_blank">http://mail.triembed.org/mailman/listinfo/triembed_triembed.org</a><br>
TriEmbed web site: <a href="http://TriEmbed.org" target="_blank">http://TriEmbed.org</a><br>
</font></span></blockquote></div><br></div>