Coding a DF player & servo with IR remote

Hi Matthew,

The code you're looking for is something like this:

#include <DFPlayer_Mini_Mp3.h>

...

if(s == "xxxxxx") {
  mp3_play (1);  // play file "0001.mp3" in the folder "mp3"
}

if(s == "xxxxxx") {
  mp3_play (2);  // play file "0002.mp3" in the folder "mp3"
}

if(s == "xxxxxx") {
  mp3_play (3);  // play file "0003.mp3" in the folder "mp3"
}