PowerBroker2 / DFPlayerMini_Fast

Fast and easy to understand Arduino library to use the DFPlayer Mini MP3 module from DFRobot.com. This is a huge improvement (both in terms of execution speed and simplicity) to the standard library provided by DFRobot.com.
197 stars 31 forks source link

RandomAll is not working #52

Open S-Snowball opened 2 years ago

S-Snowball commented 2 years ago

Hi,

Im trying to play all mp3 files from the SD Card randomly.

On my SD Card, there are no folders, just 30 mp3 files. All files are beginning with 00* like the examples in the docu

The example Code is working: https://github.com/PowerBroker2/DFPlayerMini_Fast/blob/master/examples/example/example.ino

But when I change the line myMP3.loop(1);

to myMP3.randomAll();

This is not working. Can you help me to play all Tracks randomly after there is Power on?

PowerBroker2 commented 2 years ago

When you run the sketch in debug mode, what prints to the monitor?

S-Snowball commented 2 years ago

debug?

I cant find debug in the Arduino IDE

But the Serial Monitor:

Setting volume to max
Sent Stack:
7E FF 6 6 0 0 1E FE D7 EF

randomAll
Sent Stack:
7E FF 6 18 0 0 0 FE E3 EF