DFPlayerMini_Fast icon indicating copy to clipboard operation
DFPlayerMini_Fast copied to clipboard

RandomAll is not working

Open S-Snowball opened this issue 4 years ago • 2 comments

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?

S-Snowball avatar Sep 22 '21 13:09 S-Snowball

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

PowerBroker2 avatar Sep 22 '21 18:09 PowerBroker2

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

S-Snowball avatar Sep 22 '21 20:09 S-Snowball