• 1
    Flash code
    #define LED_VERTE PB0
    #define LED_JAUNE PB1
    #define LED_ROUGE PB2
    
    void setup() {
      pinMode(LED_VERTE, OUTPUT);
      pinMode(LED_JAUNE, OUTPUT);
      pinMode(LED_ROUGE, OUTPUT);
    }
    
    void loop() {
      digitalWrite(LED_VERTE, HIGH);
      digitalWrite(LED_JAUNE, LOW);
      digitalWrite(LED_ROUGE, LOW);
      delay(3000);
      digitalWrite(LED_VERTE, LOW);
      digitalWrite(LED_JAUNE, HIGH);
      digitalWrite(LED_ROUGE, LOW);
      delay(1000);
      digitalWrite(LED_VERTE, LOW);
      digitalWrite(LED_JAUNE, LOW);
      digitalWrite(LED_ROUGE, HIGH);
      delay(3000);
    }