int ledTOP = 13;
int ledMIDDLE = 12;
int ledBOTTOM = 11;
int BOTTON1 = 10;
int BOTTON2 = 9;
void setup()
{
pinMode(ledTOP, OUTPUT);
pinMode(ledMIDDLE, OUTPUT);
pinMode(ledBOTTOM, OUTPUT);
pinMode(BOTTON1, OUTPUT);
pinMode(BOTTON2, OUTPUT);
}
// PROGRAM LOOP
void loop()
{
digitalWrite(ledTOP, HIGH);
digitalWrite(ledMIDDLE, LOW);
digitalWrite(ledBOTTOM, HIGH);
digitalWrite(BOTTON1, HIGH);
digitalWrite(BOTTON2, HIGH);
delay(1400);
digitalWrite(ledTOP, HIGH);
digitalWrite(ledMIDDLE, LOW);
digitalWrite(ledBOTTOM, LOW);
digitalWrite(BOTTON1, HIGH);
digitalWrite(BOTTON2, HIGH);
delay(1400);
digitalWrite(ledTOP, LOW);
digitalWrite(ledMIDDLE, LOW);
digitalWrite(ledBOTTOM, HIGH);
digitalWrite(BOTTON1, HIGH);
digitalWrite(BOTTON2, HIGH);
delay(1400);
digitalWrite(ledTOP, LOW);
digitalWrite(ledMIDDLE, HIGH);
digitalWrite(ledBOTTOM, HIGH);
digitalWrite(BOTTON1, HIGH);
digitalWrite(BOTTON2, HIGH);
delay(1400);
digitalWrite(ledTOP, LOW);
digitalWrite(ledMIDDLE, HIGH);
digitalWrite(ledBOTTOM, LOW);
digitalWrite(BOTTON1, HIGH);
digitalWrite(BOTTON2, HIGH);
delay(1400);
digitalWrite(ledTOP, HIGH);
digitalWrite(ledMIDDLE, HIGH);
digitalWrite(ledBOTTOM, LOW);
digitalWrite(BOTTON1, HIGH);
digitalWrite(BOTTON2, HIGH);
delay(1400);
digitalWrite(ledTOP, HIGH);
digitalWrite(ledMIDDLE, HIGH);
digitalWrite(ledBOTTOM, HIGH);
digitalWrite(BOTTON1, HIGH);
digitalWrite(BOTTON2, HIGH);
delay(1400);
}
![](https://s2.save4k.ru/pic/ASaPN11twOw/maxresdefault.jpg)