359 lines
5.2 KiB
C++
Executable File
359 lines
5.2 KiB
C++
Executable File
void setup() {
|
|
pinMode(9, OUTPUT);//buzzer
|
|
|
|
}
|
|
|
|
void loop() {
|
|
tone(9,660,100);
|
|
delay(150);
|
|
tone(9,660,100);
|
|
delay(300);
|
|
tone(9,660,100);
|
|
delay(300);
|
|
tone(9,510,100);
|
|
delay(100);
|
|
tone(9,660,100);
|
|
delay(300);
|
|
tone(9,770,100);
|
|
delay(550);
|
|
tone(9,380,100);
|
|
delay(575);
|
|
|
|
tone(9,510,100);
|
|
delay(450);
|
|
tone(9,380,100);
|
|
delay(400);
|
|
tone(9,320,100);
|
|
delay(500);
|
|
tone(9,440,100);
|
|
delay(300);
|
|
tone(9,480,80);
|
|
delay(330);
|
|
tone(9,450,100);
|
|
delay(150);
|
|
tone(9,430,100);
|
|
delay(300);
|
|
tone(9,380,100);
|
|
delay(200);
|
|
tone(9,660,80);
|
|
delay(200);
|
|
tone(9,760,50);
|
|
delay(150);
|
|
tone(9,860,100);
|
|
delay(300);
|
|
tone(9,700,80);
|
|
delay(150);
|
|
tone(9,760,50);
|
|
delay(350);
|
|
tone(9,660,80);
|
|
delay(300);
|
|
tone(9,520,80);
|
|
delay(150);
|
|
tone(9,580,80);
|
|
delay(150);
|
|
tone(9,480,80);
|
|
delay(500);
|
|
|
|
tone(9,510,100);
|
|
delay(450);
|
|
tone(9,380,100);
|
|
delay(400);
|
|
tone(9,320,100);
|
|
delay(500);
|
|
tone(9,440,100);
|
|
delay(300);
|
|
tone(9,480,80);
|
|
delay(330);
|
|
tone(9,450,100);
|
|
delay(150);
|
|
tone(9,430,100);
|
|
delay(300);
|
|
tone(9,380,100);
|
|
delay(200);
|
|
tone(9,660,80);
|
|
delay(200);
|
|
tone(9,760,50);
|
|
delay(150);
|
|
tone(9,860,100);
|
|
delay(300);
|
|
tone(9,700,80);
|
|
delay(150);
|
|
tone(9,760,50);
|
|
delay(350);
|
|
tone(9,660,80);
|
|
delay(300);
|
|
tone(9,520,80);
|
|
delay(150);
|
|
tone(9,580,80);
|
|
delay(150);
|
|
tone(9,480,80);
|
|
delay(500);
|
|
|
|
tone(9,500,100);
|
|
delay(300);
|
|
|
|
tone(9,760,100);
|
|
delay(100);
|
|
tone(9,720,100);
|
|
delay(150);
|
|
tone(9,680,100);
|
|
delay(150);
|
|
tone(9,620,150);
|
|
delay(300);
|
|
|
|
tone(9,650,150);
|
|
delay(300);
|
|
tone(9,380,100);
|
|
delay(150);
|
|
tone(9,430,100);
|
|
delay(150);
|
|
|
|
tone(9,500,100);
|
|
delay(300);
|
|
tone(9,430,100);
|
|
delay(150);
|
|
tone(9,500,100);
|
|
delay(100);
|
|
tone(9,570,100);
|
|
delay(220);
|
|
|
|
tone(9,500,100);
|
|
delay(300);
|
|
|
|
tone(9,760,100);
|
|
delay(100);
|
|
tone(9,720,100);
|
|
delay(150);
|
|
tone(9,680,100);
|
|
delay(150);
|
|
tone(9,620,150);
|
|
delay(300);
|
|
|
|
tone(9,650,200);
|
|
delay(300);
|
|
|
|
tone(9,1020,80);
|
|
delay(300);
|
|
tone(9,1020,80);
|
|
delay(150);
|
|
tone(9,1020,80);
|
|
delay(300);
|
|
|
|
tone(9,380,100);
|
|
delay(300);
|
|
tone(9,500,100);
|
|
delay(300);
|
|
|
|
tone(9,760,100);
|
|
delay(100);
|
|
tone(9,720,100);
|
|
delay(150);
|
|
tone(9,680,100);
|
|
delay(150);
|
|
tone(9,620,150);
|
|
delay(300);
|
|
|
|
tone(9,650,150);
|
|
delay(300);
|
|
tone(9,380,100);
|
|
delay(150);
|
|
tone(9,430,100);
|
|
delay(150);
|
|
|
|
tone(9,500,100);
|
|
delay(300);
|
|
tone(9,430,100);
|
|
delay(150);
|
|
tone(9,500,100);
|
|
delay(100);
|
|
tone(9,570,100);
|
|
delay(420);
|
|
|
|
tone(9,585,100);
|
|
delay(450);
|
|
|
|
tone(9,550,100);
|
|
delay(420);
|
|
|
|
tone(9,500,100);
|
|
delay(360);
|
|
|
|
tone(9,380,100);
|
|
delay(300);
|
|
tone(9,500,100);
|
|
delay(300);
|
|
tone(9,500,100);
|
|
delay(150);
|
|
tone(9,500,100);
|
|
delay(300);
|
|
|
|
tone(9,500,100);
|
|
delay(300);
|
|
|
|
tone(9,760,100);
|
|
delay(100);
|
|
tone(9,720,100);
|
|
delay(150);
|
|
tone(9,680,100);
|
|
delay(150);
|
|
tone(9,620,150);
|
|
delay(300);
|
|
|
|
tone(9,650,150);
|
|
delay(300);
|
|
tone(9,380,100);
|
|
delay(150);
|
|
tone(9,430,100);
|
|
delay(150);
|
|
|
|
tone(9,500,100);
|
|
delay(300);
|
|
tone(9,430,100);
|
|
delay(150);
|
|
tone(9,500,100);
|
|
delay(100);
|
|
tone(9,570,100);
|
|
delay(220);
|
|
|
|
tone(9,500,100);
|
|
delay(300);
|
|
|
|
tone(9,760,100);
|
|
delay(100);
|
|
tone(9,720,100);
|
|
delay(150);
|
|
tone(9,680,100);
|
|
delay(150);
|
|
tone(9,620,150);
|
|
delay(300);
|
|
|
|
tone(9,650,200);
|
|
delay(300);
|
|
|
|
tone(9,1020,80);
|
|
delay(300);
|
|
tone(9,1020,80);
|
|
delay(150);
|
|
tone(9,1020,80);
|
|
delay(300);
|
|
|
|
tone(9,380,100);
|
|
delay(300);
|
|
tone(9,500,100);
|
|
delay(300);
|
|
|
|
tone(9,760,100);
|
|
delay(100);
|
|
tone(9,720,100);
|
|
delay(150);
|
|
tone(9,680,100);
|
|
delay(150);
|
|
tone(9,620,150);
|
|
delay(300);
|
|
|
|
tone(9,650,150);
|
|
delay(300);
|
|
tone(9,380,100);
|
|
delay(150);
|
|
tone(9,430,100);
|
|
delay(150);
|
|
|
|
tone(9,500,100);
|
|
delay(300);
|
|
tone(9,430,100);
|
|
delay(150);
|
|
tone(9,500,100);
|
|
delay(100);
|
|
tone(9,570,100);
|
|
delay(420);
|
|
|
|
tone(9,585,100);
|
|
delay(450);
|
|
|
|
tone(9,550,100);
|
|
delay(420);
|
|
|
|
tone(9,500,100);
|
|
delay(360);
|
|
|
|
tone(9,380,100);
|
|
delay(300);
|
|
tone(9,500,100);
|
|
delay(300);
|
|
tone(9,500,100);
|
|
delay(150);
|
|
tone(9,500,100);
|
|
delay(300);
|
|
|
|
tone(9,500,60);
|
|
delay(150);
|
|
tone(9,500,80);
|
|
delay(300);
|
|
tone(9,500,60);
|
|
delay(350);
|
|
tone(9,500,80);
|
|
delay(150);
|
|
tone(9,580,80);
|
|
delay(350);
|
|
tone(9,660,80);
|
|
delay(150);
|
|
tone(9,500,80);
|
|
delay(300);
|
|
tone(9,430,80);
|
|
delay(150);
|
|
tone(9,380,80);
|
|
delay(600);
|
|
|
|
tone(9,500,60);
|
|
delay(150);
|
|
tone(9,500,80);
|
|
delay(300);
|
|
tone(9,500,60);
|
|
delay(350);
|
|
tone(9,500,80);
|
|
delay(150);
|
|
tone(9,580,80);
|
|
delay(150);
|
|
tone(9,660,80);
|
|
delay(550);
|
|
|
|
tone(9,870,80);
|
|
delay(325);
|
|
tone(9,760,80);
|
|
delay(600);
|
|
|
|
tone(9,500,60);
|
|
delay(150);
|
|
tone(9,500,80);
|
|
delay(300);
|
|
tone(9,500,60);
|
|
delay(350);
|
|
tone(9,500,80);
|
|
delay(150);
|
|
tone(9,580,80);
|
|
delay(350);
|
|
tone(9,660,80);
|
|
delay(150);
|
|
tone(9,500,80);
|
|
delay(300);
|
|
tone(9,430,80);
|
|
delay(150);
|
|
tone(9,380,80);
|
|
delay(600);
|
|
|
|
tone(9,660,100);
|
|
delay(150);
|
|
tone(9,660,100);
|
|
delay(300);
|
|
tone(9,660,100);
|
|
delay(300);
|
|
tone(9,510,100);
|
|
delay(100);
|
|
tone(9,660,100);
|
|
delay(300);
|
|
tone(9,770,100);
|
|
delay(550);
|
|
tone(9,380,100);
|
|
delay(575);
|
|
}
|