Let’s take it back to basic by modeling the traffic lights circuit on a Powered Breadboard PBB-272B and with a few other electronics components. This circuit turns ON the green LED, keeps it ON for some time, then turns ON the yellow LED for a moment, and finally turns ON the red LED for almost the same duration as the green LED. This cycle again starts from the green LED.
Tell us you're an electronics geek, without telling us.