#define buzzer 13
int C =262;
int D =294;
int E =330;
int F =349;
int G =392;
int A =440;
int B_H =523;
int notes[] ={C,D,E,F,G,A,B_H};
void setup() {
// put your setup code here, to run once:
pinMode(buzzer,OUTPUT);
for(int i=0;i<8; i++){
tone(buzzer,notes[i]);
delay(500);
noTone(buzzer);
delay(3);
}
}
void loop() {
// put your main code here, to run repeatedly:
delay(10); // this speeds up the simulation
}