Вы находитесь на странице: 1из 4

void setup()

pinMode(7, OUTPUT); //Variable A

pinMode(6, OUTPUT); //Variable B

pinMode(5, OUTPUT); //Variable C

pinMode(4, OUTPUT); //Variable D

void loop()

digitalWrite(7, LOW);

digitalWrite(6, LOW);

digitalWrite(5, LOW);

digitalWrite(4, LOW);

delay(2000); // Wait for 1000 millisecond(s)

digitalWrite(7, LOW);

digitalWrite(6, LOW);

digitalWrite(5, LOW);

digitalWrite(4, HIGH);

delay(2000); // Wait for 1000 millisecond(s)

digitalWrite(7, LOW);

digitalWrite(6, LOW);

digitalWrite(5, HIGH);

digitalWrite(4, LOW);

delay(2000); // Wait for 1000 millisecond(s)

digitalWrite(7, LOW);
digitalWrite(6, LOW);

digitalWrite(5, HIGH);

digitalWrite(4, HIGH);

delay(2000); // Wait for 1000 millisecond(s)

digitalWrite(7, LOW);

digitalWrite(6, HIGH);

digitalWrite(5, LOW);

digitalWrite(4, LOW);

delay(2000); // Wait for 1000 millisecond(s)

digitalWrite(7, LOW);

digitalWrite(6, HIGH);

digitalWrite(5, LOW);

digitalWrite(4, HIGH);

delay(2000); // Wait for 1000 millisecond(s)

digitalWrite(7, LOW);

digitalWrite(6, HIGH);

digitalWrite(5, HIGH);

digitalWrite(4, LOW);

delay(2000); // Wait for 1000 millisecond(s)

digitalWrite(7, LOW);

digitalWrite(6, HIGH);

digitalWrite(5, HIGH);

digitalWrite(4, HIGH);
delay(2000); // Wait for 1000 millisecond(s)

digitalWrite(7, HIGH);

digitalWrite(6, LOW);

digitalWrite(5, LOW);

digitalWrite(4, LOW);

delay(2000); // Wait for 1000 millisecond(s)

digitalWrite(7, HIGH);

digitalWrite(6, LOW);

digitalWrite(5, LOW);

digitalWrite(4, HIGH);

delay(2000); // Wait for 1000 millisecond(s)

digitalWrite(7, HIGH);

digitalWrite(6, LOW);

digitalWrite(5, HIGH);

digitalWrite(4, LOW);

delay(2000); // Wait for 1000 millisecond(s)

digitalWrite(7, HIGH);

digitalWrite(6, LOW);

digitalWrite(5, HIGH);

digitalWrite(4, HIGH);

delay(2000); // Wait for 1000 millisecond(s)

digitalWrite(7, HIGH);
digitalWrite(6, HIGH);

digitalWrite(5, LOW);

digitalWrite(4, LOW);

delay(2000); // Wait for 1000 millisecond(s)

digitalWrite(7, HIGH);

digitalWrite(6, HIGH);

digitalWrite(5, LOW);

digitalWrite(4, HIGH);

delay(2000); // Wait for 1000 millisecond(s)

digitalWrite(7, HIGH);

digitalWrite(6, HIGH);

digitalWrite(5, HIGH);

digitalWrite(4, LOW);

delay(2000); // Wait for 1000 millisecond(s)

digitalWrite(7, HIGH);

digitalWrite(6, HIGH);

digitalWrite(5, HIGH);

digitalWrite(4, HIGH);

delay(2000);