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

Latest Version is not working (Hanging Arduino) when using multiple SoftwareSerial. #54

Open
geraldcells18 opened this issue Oct 31, 2023 · 4 comments

Comments

@geraldcells18
Copy link

geraldcells18 commented Oct 31, 2023

The Arduino will hang when calling startSoundSerial() after I call stopSoundSerial()
_But if you use v1.0.0 it will work without any issues.

SoftwareSerial WifiSerial(DD5, DD6);
SoftwareSerial SoundSerial(A0, A1);

void startSoundSerial() {
if (WifiSerial.isListening()) {
WifiSerial.flush();
WifiSerial.stopListening();
} else {
SoundSerial.listen();
}
}

void stopSoundSerial() {
if (SoundSerial.isListening()) {
SoundSerial.flush();
SoundSerial.stopListening();
} else {
WifiSerial.listen();
}
}

@constantinsta
Copy link

I have the same problem. I am using previous version 1.0.5 to stop hanging Arduino.

@rikiriocma
Copy link

me too, back to version 1.0.5 after going crazy

@gusmakous
Copy link

Hello!
I have a similar problem. esp32, Serial2. the program hangs when calling the .play() function and only if the TX pin on the DF player is not connected to the RX pin on the ESP. As soon as I connect both data lines, everything works as it should. Rolling back to a previous version helped. Also, in setup, I use the command myDFPlayer.setTimeOut(500); but when the 2nd dataline is disconnected, the program hangs when accessing the player.

@Hereux
Copy link

Hereux commented Nov 2, 2024

I just spent something about 8 FUCKING HOURS debugging someones code just to find out that the library does not work.
It should be illegal to not maintain a used library.

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