l' algotythme de Gerard en gestion de 2 feux a un carrefour.
Code:Initialisations DEBUT : Rouge1 = 1 Orange1 = 0 Vert1 = 0 Rouge2 = 0 Orange2 = 0 Vert2 = 1 tempo0 Rouge1 = 0 Orange1 = 1 Vert1 = 0 tempo1 Rouge1 = 0 Orange1 = 0 Vert1 = 1 Rouge2 = 1 Orange2 = 0 Vert2 = 0 tempo0 Rouge2 = 0 Orange2 = 1 Vert2 = 0 tempo1 while RB4 = 1 Rouge1 = 0 Orange1 = 1 Vert1 = 0 Rouge2 = 0 Orange2 = 1 Vert2 = 0 tempo_nuit Orange1 = 0 Orange2 = 0 tempo_nuit wend goto DEBUT
-----