hello
test inverse car mode INPUT_PULLUP
if (etatContact) // si etatContact==1
{
Serial.println("Le son 1 est joué");//car on est en attente, on joue le son 1
}
else //sinon etatContact ==0
{
Serial.println("Le son 2 s'active");
player.playOne("MOINEAU.MP3");//auquel cas on joue le son 2
}