voodou
1
Hi all, I'm trying to build a box song control with IR remote for my son with differents sounds using Catalex mp3 yx5300 module.
I can't find the way to play that file in that folder. I just don't understand the command. I would to do something like:
Play MP3 number 3 in folder 5.
Thanks in advance.
voodou:
Hi all, I'm trying to build a box song control with IR remote for my son with differents sounds using Catalex mp3 yx5300 module.
I can't find the way to play that file in that folder. I just don't understand the command. I would to do something like:
Play MP3 number 3 in folder 5.
Thanks in advance.
which command don't you understand? are you using a library or just sending command bytes?
voodou
3
I'm using library, here is my "bad" command:
sendCommand(CMD_PLAY_FOLDER_FILE, 0X0F0101);
voodou:
I'm using library, here is my "bad" command:
sendCommand(CMD_PLAY_FOLDER_FILE, 0X0F0101);
OK so....... which library?
voodou
5
Sorry I forgot to write it:
#include <SoftwareSerial.h>
Thanks for helping.
Edit: In fact the line #define CMD_PLAY_FOLDER_FILE 0X0F was missing
I don't understand why I couln't find it before posting...
jimkan
6
@Voodou, do you mind sharing your code?
Thanks!
xl97
7
The DFPlayer Mini used the YX5200 chip set...
maybe there is an updated library for the YX5300 chip? (or perhaps the same serial commands work as well?)