I am trying to come up with a code on arduino that shows a real life 3 way intersection scenario. I have a 3 stop signs with 2led lights on each. red means wait.Greens means go. Just like a real life situation whatever car gets to the stop sign first has the right of way. I will be using digital distance Ir sensors to detect objects. So 3 sensors as the input and 6 leds as the output