MMlogic, traffic light
<p>I'm using this program called MMlogic. I want to simulate a traffic light.</p>

<pre><code>Counter = 1 = red light
Counter = 2 = green light
Counter = 3 = yellow light
</code></pre>

<p>The counter is giving binary signals. So 1 = 1, 2 = 01, 3 = 11.</p>

<p>How do i make the correct light show up? I have output 1 attached to the red light and two to the green light, but when it goes to 3 (11 in binary), it lights all the lights (I have 1 &amp; 2 attached to an AND port).</p>

<p>So what I want is that only the yellow light works.</p>

<p>Do you have a solution? See this screenshot: <a href="http://www.uploadplaatjes.nl/plaatje.php?id=432369" rel="nofollow">http://www.uploadplaatjes.nl/plaatje.php?id=432369</a></p>

<p>Thanks!</p>
