const int ldG=3;
const int ldR=4;
const int ldB=2;
void setup() {
pinMode(ldR, OUTPUT);
pinMode(ldG, OUTPUT);
pinMode(ldB, OUTPUT);
}
void loop() {
digitalWrite(ldR,HIGH);
delay(2000);
digitalWrite(ldR,LOW);
delay(100);
digitalWrite(ldG,HIGH);
delay(2000);
digitalWrite(ldG,LOW);
delay(100);
digitalWrite(ldB,HIGH);
delay(2000);
digitalWrite(ldB,LOW);
delay(100);
}