Skip to content

RandomAll is not working #52

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
S-Snowball opened this issue Sep 22, 2021 · 2 comments
Open

RandomAll is not working #52

S-Snowball opened this issue Sep 22, 2021 · 2 comments
Assignees
Labels

Comments

@S-Snowball
Copy link

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 PowerBroker2 self-assigned this Sep 22, 2021
@PowerBroker2
Copy link
Owner

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

@S-Snowball
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants