#define led_vert 4
#define led_jaune 3
#define led_rouge 2
#include <LiquidCrystal.h>
LiquidCrystal lcd(12, 11, 10, 9, 8, 7);
void setup() {
lcd.begin(16, 2);
pinMode(led_vert, OUTPUT);
pinMode(led_jaune, OUTPUT);
pinMode(led_rouge, OUTPUT);
}
void loop() {
digitalWrite(led_vert, HIGH);
digitalWrite(led_jaune, LOW);
digitalWrite(led_rouge, LOW);
lcd.print(" PASSEZ ");
delay(5000);
digitalWrite(led_vert, LOW);
digitalWrite(led_jaune, HIGH);
digitalWrite(led_rouge, LOW);
lcd.print(" RALLENTSSEZ ");
delay(5000);
digitalWrite(led_vert, LOW);
digitalWrite(led_jaune, LOW);
digitalWrite(led_rouge, HIGH);
lcd.print(" ARRET ");
delay(5000);
}