         
         delay(pause);
     }
-    return MODE2;
 }
        int pause = duration * 1.5; //音符の間で時間をあける
        delay(pause);
    }
    return MODE1;
}

int music2(){
    delay(500);
    buttonState=1;
    digitalWrite(0, LOW);
    digitalWrite(1, LOW);
    digitalWrite(2, LOW);

    digitalWrite(13, LOW);

    for (int thisNote = 0; thisNote < 68; thisNote++) {
        digitalWrite(5,HIGH);
        digitalWrite(6,HIGH);
        digitalWrite(7,HIGH);
