my first sketch: beginning of tetris melody
parent
41b8f44922
commit
9a2918692b
@ -0,0 +1,53 @@
|
||||
void setup() {
|
||||
// put your setup code here, to run once:
|
||||
|
||||
}
|
||||
|
||||
void loop() {
|
||||
// put your main code here, to run repeatedly:
|
||||
tone (11, 392, 40);
|
||||
delay (300);
|
||||
tone (11, 293, 40);
|
||||
delay (200);
|
||||
tone (11, 311, 80);
|
||||
delay (200);
|
||||
|
||||
tone (11, 349, 40);
|
||||
delay (300);
|
||||
tone (11, 349, 80);
|
||||
delay (200);
|
||||
tone (11, 293, 40);
|
||||
delay (200);
|
||||
|
||||
tone (11, 261, 40);
|
||||
delay (300);
|
||||
tone (11, 261, 40);
|
||||
delay (200);
|
||||
tone (11, 311, 80);
|
||||
delay (200);
|
||||
|
||||
tone (11, 392, 40);
|
||||
delay (300);
|
||||
tone (11, 349, 40);
|
||||
delay (200);
|
||||
tone (11, 311, 80);
|
||||
delay (200);
|
||||
|
||||
tone (11, 293, 40);
|
||||
delay (300);
|
||||
tone (11, 311, 80);
|
||||
delay (200);
|
||||
|
||||
tone (11, 349, 40);
|
||||
delay (300);
|
||||
tone (11, 392, 80);
|
||||
delay (200);
|
||||
|
||||
tone (11, 311, 40);
|
||||
delay (300);
|
||||
tone (11, 261, 80);
|
||||
delay (300);
|
||||
|
||||
tone (11, 261, 80);
|
||||
delay (3000);
|
||||
}
|
Loading…
Reference in New Issue