const int LedPin1=13; //Declaring pins 13,14,15
const int LedPin2=14;
const int LedPin3=15;
void setup() {
pinMode (LedPin1,OUTPUT); //setting up pins
pinMode (LedPin2,OUTPUT);
pinMode (LedPin3,OUTPUT);
}
void loop() {
digitalWrite(LedPin1,HIGH); //Turn on LED
delay(2000); //Wait for 2 seconds
digitalWrite(LedPin1,LOW); //Turn off LED
delay(2000);
digitalWrite(LedPin2,HIGH);
delay(2000);
digitalWrite(LedPin2,LOW);
delay(2000);
digitalWrite(LedPin3,HIGH);
delay(2000);
digitalWrite(LedPin3,LOW);
delay(2000);
}