Il n'y a rien de spécial pour le cablage c'est un shield qui se met par dessus un arduino UNO par exemple.
Tu le branches sur quoi?
As tu bien mis dans le code:
void loop(void)
{
player.play(); //do some leisurely job
}
Et apparemment pas besoin du
En résumé dans l'exemple ils mettent:
void setup(void)
{
Serial.begin(9600);
player.begin(); //will initialize the hardware and set default mode to be normal.
player.setPlayMode(PM_REPEAT_ONE); //set mode to repeat playing a song
player.playOne("test.mp3"); //play a song with its name
}
void loop(void)
{
player.play(); //do some leisurely job
}
Sinon si t'es pas sur tu lis tout avec:
player.scanAndPlayAll(); //If the current playlist is empty,it will add all the songs in the root directory to the playlist.