Accendere più led contemporaneamente

Ciao a tutti sono nuovo in questo forum. Ho un problema : ho usato 6 led (2 verdi 2 gialli e due rossi) per creare due "semafori" sulla breadboard. Vorrei che ogni volta che si accende il verde succede lo stesso sull'altro semaforo e lo stesso con glia altri colori. Però non so scrivere questo programma. Potete aiutarmi? Grazie in anticipo
P.S.
fino a fare accendere i tre led iniziali ad intermittenza sono riuscito ma poi ho provato con if senza grnadi risulatati...

Ciao,

You should probably post in the Italian section of the forum. Also, post what code you have already written so others can help you with that.

I am assuming that you have each LED controlled by one output. Where you are writing to the LED for one traffic light, repeat for the outer output for the other traffic light. This applies to all colours.