void setup() {
// Declare the pins here:
pinMode(12, OUTPUT);
pinMode(11, OUTPUT);
pinMode(10, OUTPUT);
}
void loop() {
//code to glow and blink LED Left to Right
// use code for declared 12 pins i.e Red LED here:
digitalWrite(12, HIGH);
delay(100); // Wait for 1000 millisecond(s)
digitalWrite(12, LOW);
delay(100); // Wait for 1000 millisecond(s)
// use code for declared 11 pins i.e Blue LED here:
digitalWrite(11, HIGH);
delay(100); // Wait for 1000 millisecond(s)
digitalWrite(11, LOW);
delay(100); // Wait for 1000 millisecond(s)
// use code for declared 10 pins i.e Green LED here:
digitalWrite(10, HIGH);
delay(100); // Wait for 1000 millisecond(s)
digitalWrite(10, LOW);
delay(100); // Wait for 1000 millisecond(s)
}