IR newbie here, and I'm having fun programming different mp3s into the example code for the IR remote control example in adabox 004, but I have a question. The code currently has 3 'slots' where I can load up mp3s:
Code: Select all
if (results.value == 0xFD08F7) {
musicPlayer.stopPlaying();
Serial.println("playing track #1");
musicPlayer.startPlayingFile("youlikth.mp3");
}
if (results.value == 0xFD8877) {
musicPlayer.stopPlaying();
Serial.println("playing track #2");
musicPlayer.startPlayingFile("howliknw.mp3");
}
if (results.value == 0xFD48B7) {
musicPlayer.stopPlaying();
Serial.println("playing track #3");
musicPlayer.startPlayingFile("airhornz.mp3");
}