//NAMA : SITI ANISAUL MUNAWAROH
//KELAS : XII FC.1
#define buzzer 12
void setup()
{
pinMode (buzzer, OUTPUT); //pin 12 buzzer sebagai output
}
void loop()
{
tone(buzzer,262); delay(200); //DO
tone(buzzer,294); delay(200); //RE
tone(buzzer,330); delay(200); //MI
tone(buzzer,349); delay(200); //FA
tone(buzzer,395); delay(200); //SOL
tone(buzzer,440); delay(200); //LA
tone(buzzer,494); delay(200); //SI
tone(buzzer,523); delay(200); //DO"
}