Combiner 2 sketch

j'avance à petits pas lol

voici le void loop ()

void loop()
{
  
  attractMode(); // Blink lights while waiting for user to press a button
 
  // Indicate the start of game play
  setLEDs(CHOICE_RED | CHOICE_GREEN | CHOICE_BLUE | CHOICE_YELLOW); // Turn all LEDs on
  delay(1000);
  setLEDs(CHOICE_OFF); // Turn off LEDs
  delay(250);
 
  // Play memory game and handle result
  if (play_memory() == true) 
    play_winner(); // Player won, play winner tones
  else 
    play_loser(); // Player lost, play loser tones
    
  mp3bouton(); //MP3

}

Quand je laisse juste "mp3bouton();" le MP3 fonctionne...sinon, juste le jeu Simon ...

PS : mp3bouton(); :

void mp3bouton(void)
{
buttonState1 = digitalRead(buttonPin1);


  if (buttonState1 == HIGH) {
sendCommand(CMD_PLAY_W_VOL, 0x0f01);// volume 0x0f = 15%
  }
}