#define buzzerMain 10 //Nada Utama
#define buzzerLead 9 //Pengiring nanda utama
#define buzzerBg 8 // Background music
void setup() {
// put your setup code here, to run once:
pinMode(buzzerMain, OUTPUT);
pinMode(buzzerLead, OUTPUT);
pinMode(buzzerBg, OUTPUT);
digitalWrite(buzzerMain, HIGH);
digitalWrite(buzzerLead, HIGH);
digitalWrite(buzzerBg, HIGH);
delay(0);
}
void loop() {
// put your main code here, to run repeatedly:
tone(buzzerMain, 233.08, 300);
delay(0);
tone(buzzerMain, 233.08, 300);
delay(0);
}