int led=10;
int buzzer=9;
void setup()
{
// put your setup code here, to run once:
pinMode(led, OUTPUT);
pinMode(buzzer,OUTPUT);
}
void loop()
{
// put your main code here, to run repeatedly:
digitalWrite(led, HIGH);
tone(buzzer,1000);
delay(250);
digitalWrite(led, LOW);
noTone(buzzer);
delay(100);
digitalWrite(led, HIGH);
tone(buzzer, 1000);
delay(250);
digitalWrite(led, LOW);
noTone (buzzer);
delay(100);
digitalWrite(led, HIGH);
tone(buzzer, 1000);
delay(250);
digitalWrite(led, LOW);
noTone (buzzer);
delay(200);
digitalWrite(led, HIGH);
tone(buzzer,1000);
delay(750);
digitalWrite(led, LOW);
noTone(buzzer);
delay(100);
digitalWrite(led, HIGH);
tone(buzzer,1000);
delay(750);
digitalWrite(led, LOW);
noTone(buzzer);
delay(100);
digitalWrite(led,HIGH);
tone(buzzer,1000);
delay(750);
digitalWrite(led, LOW);
noTone(buzzer);
delay(200);
digitalWrite(led, HIGH);
tone(buzzer,1000);
delay(250);
digitalWrite(led, LOW);
noTone(buzzer);
delay(100);
digitalWrite(led, HIGH);
tone(buzzer,1000);
delay(250);
digitalWrite(led, LOW);
noTone(buzzer);
delay(100);
digitalWrite(led, HIGH);
tone(buzzer,1000);
delay(250);
digitalWrite(led, LOW);
noTone(buzzer);
delay(300);
}