You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
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();
}
}
The text was updated successfully, but these errors were encountered: