ARDUINO-warning Light

177

3

1

Published

Introduction: ARDUINO-warning Light

RED led =digital 2
YELLOW led =digital 3
GREEN led =digital 4

THE CODE

void setup() {
pinMode(2,OUTPUT);
pinMode(3,OUTPUT);
pinMode(4,OUTPUT);
}

void loop() {
digitalWrite(2,HIGH);
delay(10000);
digitalWrite(2,LOW);
delay(0);

digitalWrite(3,HIGH);
delay(2000);
digitalWrite(3,LOW);
delay(0);

digitalWrite(4,HIGH);
delay(10000);
digitalWrite(4,LOW);
delay(0);
}

finish

Share

    Recommendations

    • Colors of the Rainbow Contest

      Colors of the Rainbow Contest
    • Pets Challenge

      Pets Challenge
    • Stick It! Contest

      Stick It! Contest
    user

    We have a be nice policy.
    Please be positive and constructive.

    Tips

    Questions

    Comments

    I love arduino projects! But I can't tell what this one does. Could you explain more as to what it does?