#define green 2
#define violet 4
#define yellow 5
#define blue 19
#define white 22
#define v2 12
#define red 13
#define sb 14
#define dv 27
#define upgreen 25
#define secup 18
#define tup 32
#define fup 23
void setup() {
pinMode(green, OUTPUT);
pinMode(violet, OUTPUT);
pinMode(yellow, OUTPUT);
pinMode(blue, OUTPUT);
pinMode(v2, OUTPUT);
pinMode(white, OUTPUT);
pinMode(red, OUTPUT);
pinMode(sb, OUTPUT);
pinMode(dv, OUTPUT);
pinMode(upgreen, OUTPUT);
pinMode(secup, OUTPUT);
pinMode(tup, OUTPUT);
pinMode(fup, OUTPUT);
}
void loop() {
digitalWrite(green, HIGH);
delay(80);
digitalWrite(green, LOW);
delay(80);
digitalWrite(violet, HIGH);
delay(80);
digitalWrite(violet, LOW);
delay(80);
digitalWrite(yellow, HIGH);
delay(80);
digitalWrite(yellow, LOW);
delay(80);
digitalWrite(blue, HIGH);
delay(80);
digitalWrite(blue, LOW);
delay(80);
digitalWrite(white, HIGH);
delay(80);
digitalWrite(white, LOW);
delay(80);
digitalWrite(v2, HIGH);
delay(80);
digitalWrite(v2, LOW);
delay(80);
digitalWrite(sb, HIGH);
delay(80);
digitalWrite(sb, LOW);
delay(80);
digitalWrite(dv, HIGH);
delay(80);
digitalWrite(dv, LOW);
delay(80);
digitalWrite(red, HIGH);
delay(80);
digitalWrite(red, LOW);
delay(1000);
//second wave
digitalWrite(red, HIGH);
delay(80);
digitalWrite(red, LOW);
delay(80);
digitalWrite(dv, HIGH);
delay(80);
digitalWrite(dv, LOW);
delay(80);
digitalWrite(sb, HIGH);
delay(80);
digitalWrite(sb, LOW);
delay(80);
digitalWrite(v2, HIGH);
delay(80);
digitalWrite(v2, LOW);
delay(80);
digitalWrite(white, HIGH);
delay(80);
digitalWrite(white, LOW);
delay(80);
digitalWrite(blue, HIGH);
delay(80);
digitalWrite(blue, LOW);
delay(80);
digitalWrite(yellow, HIGH);
delay(80);
digitalWrite(yellow, LOW);
delay(80);
digitalWrite(violet, HIGH);
delay(80);
digitalWrite(violet, LOW);
delay(80);
digitalWrite(green, HIGH);
delay(80);
digitalWrite(green, LOW);
delay(1000);
//3rd wave
digitalWrite(upgreen, HIGH);
delay(500);
digitalWrite(upgreen, LOW);
delay(500);
digitalWrite(secup, HIGH);
delay(500);
digitalWrite(secup, LOW);
delay(500);
digitalWrite(tup, HIGH);
delay(500);
digitalWrite(tup, LOW);
delay(500);
digitalWrite(fup, HIGH);
delay(500);
digitalWrite(fup, LOW);
delay(500);
digitalWrite(upgreen, HIGH);
delay(100);
digitalWrite(upgreen, LOW);
delay(100);
digitalWrite(secup, HIGH);
delay(100);
digitalWrite(secup, LOW);
delay(100);
digitalWrite(tup, HIGH);
delay(100);
digitalWrite(tup, LOW);
delay(100);
digitalWrite(fup, HIGH);
delay(100);
digitalWrite(fup, LOW);
delay(100);
//4th wave
digitalWrite(green, HIGH);
delay(75);
digitalWrite(green, LOW);
delay(75);
digitalWrite(violet, HIGH);
delay(75);
digitalWrite(violet, LOW);
delay(75);
digitalWrite(yellow, HIGH);
delay(75);
digitalWrite(yellow, LOW);
delay(75);
digitalWrite(blue, HIGH);
delay(75);
digitalWrite(blue, LOW);
delay(75);
digitalWrite(white, HIGH);
delay(75);
digitalWrite(white, LOW);
delay(75);
digitalWrite(v2, HIGH);
delay(75);
digitalWrite(v2, LOW);
delay(75);
digitalWrite(sb, HIGH);
delay(75);
digitalWrite(sb, LOW);
delay(75);
digitalWrite(dv, HIGH);
delay(75);
digitalWrite(dv, LOW);
delay(75);
digitalWrite(red, HIGH);
delay(75);
digitalWrite(red, LOW);
delay(75);
digitalWrite(red, HIGH);
delay(75);
digitalWrite(red, LOW);
delay(75);
digitalWrite(dv, HIGH);
delay(75);
digitalWrite(dv, LOW);
delay(75);
digitalWrite(sb, HIGH);
delay(75);
digitalWrite(sb, LOW);
delay(75);
digitalWrite(v2, HIGH);
delay(75);
digitalWrite(v2, LOW);
delay(75);
digitalWrite(white, HIGH);
delay(75);
digitalWrite(white, LOW);
delay(75);
digitalWrite(blue, HIGH);
delay(75);
digitalWrite(blue, LOW);
delay(75);
digitalWrite(yellow, HIGH);
delay(75);
digitalWrite(yellow, LOW);
delay(75);
digitalWrite(violet, HIGH);
delay(75);
digitalWrite(violet, LOW);
delay(75);
digitalWrite(green, HIGH);
delay(75);
digitalWrite(green, LOW);
delay(100);
//4th wave
digitalWrite(green, HIGH);
delay(80);
digitalWrite(green, LOW);
delay(80);
digitalWrite(red, HIGH);
delay(80);
digitalWrite(red, LOW);
delay(80);
digitalWrite(violet, HIGH);
delay(80);
digitalWrite(violet, LOW);
delay(80);
digitalWrite(dv, HIGH);
delay(80);
digitalWrite(dv, LOW);
delay(80);
digitalWrite(yellow, HIGH);
delay(80);
digitalWrite(yellow, LOW);
delay(80);
digitalWrite(sb, HIGH);
delay(80);
digitalWrite(sb, LOW);
delay(80);
digitalWrite(blue, HIGH);
delay(80);
digitalWrite(blue, LOW);
delay(80);
digitalWrite(v2, HIGH);
delay(80);
digitalWrite(v2, LOW);
delay(80);
digitalWrite(green, HIGH);
delay(80);
digitalWrite(green, LOW);
delay(80);
digitalWrite(red, HIGH);
delay(80);
digitalWrite(red, LOW);
delay(80);
digitalWrite(violet, HIGH);
delay(80);
digitalWrite(violet, LOW);
delay(80);
digitalWrite(dv, HIGH);
delay(80);
digitalWrite(dv, LOW);
delay(80);
digitalWrite(yellow, HIGH);
delay(80);
digitalWrite(yellow, LOW);
delay(80);
digitalWrite(sb, HIGH);
delay(80);
digitalWrite(sb, LOW);
delay(80);
digitalWrite(blue, HIGH);
delay(80);
digitalWrite(blue, LOW);
delay(80);
digitalWrite(v2, HIGH);
delay(80);
digitalWrite(v2, LOW);
delay(80);
digitalWrite(green, HIGH);
delay(80);
digitalWrite(green, LOW);
delay(80);
digitalWrite(violet, HIGH);
delay(80);
digitalWrite(violet, LOW);
delay(80);
digitalWrite(yellow, HIGH);
delay(80);
digitalWrite(yellow, LOW);
delay(80);
digitalWrite(blue, HIGH);
delay(80);
digitalWrite(blue, LOW);
delay(80);
digitalWrite(red, HIGH);
delay(80);
digitalWrite(red, LOW);
delay(80);
digitalWrite(dv, HIGH);
delay(80);
digitalWrite(dv, LOW);
delay(80);
digitalWrite(sb, HIGH);
delay(80);
digitalWrite(sb, LOW);
delay(80);
digitalWrite(v2, HIGH);
delay(80);
digitalWrite(v2, LOW);
delay(80);
digitalWrite(white, HIGH);
delay(1000);
digitalWrite(white, LOW);
delay(1000);
}