void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
// turn off tone function for pin 8:
noTone(8);
// play a note on pin 6 for 200 ms:
tone(6, 400, 200);
delay(300);
// turn off tone function for pin 6:
noTone(6);
// play a note on pin 7 for 500 ms:
tone(7, 800, 500);
delay(200);
// turn off tone function for pin 7:
noTone(7);
// play a note on pin 8 for 300 ms:
tone(8, 600, 300);
delay(300);
}