Skip to content
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

stuck on play #50

Open
plutphil opened this issue Jun 30, 2023 · 5 comments
Open

stuck on play #50

plutphil opened this issue Jun 30, 2023 · 5 comments

Comments

@plutphil
Copy link

plutphil commented Jun 30, 2023

I don't know why but with the new version 1.0.6 my code gets stuck on play. I use an ESP32. I tried switching between Serial2 and SoftwareSerial - no difference.
#51 (comment)

@ontheplane
Copy link

I have exactly the same issue using Arduino NANO. Had me changing out the sound cards to no avail before I realised it was a library update. Moving back to 1.0.5 fixed it.

@laurentmas
Copy link

Hello, I have the same issue, the New library goes to infinite loop if you set ack to true and you try to stop a music. i open an issue with my findings

@donjoergo
Copy link

I also have this issue and changing back to 1.0.5 also fixed it for me.

@ontheplane
Copy link

This still has not been resolved insofar as my library keeps trying to update to 1.0.6. Is there a way to a particular update or is it all or none?

@drf5n
Copy link

drf5n commented Sep 13, 2024

It's got to be one of the v1.0.6 commits on https://github.com/DFRobot/DFRobotDFPlayerMini/commits/master/

Maybe:

ed07ad9

or

a81a07c

The first commit has some pretty board-specific special handling with:

#if (defined(ARDUINO_AVR_UNO) || defined(ESP8266))   // Using a soft serial port
#include <SoftwareSerial.h>
SoftwareSerial softSerial(/*rx =*/4, /*tx =*/5);
#define FPSerial softSerial
#else
#define FPSerial Serial1
#endif

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

No branches or pull requests

5 participants