enjoyneering / DFPlayer

Small and fast Arduino library for DFPlayer Mini MP3 Player
GNU General Public License v3.0
40 stars 9 forks source link

setVolume(x) not working #13

Open marioescuder82 opened 3 months ago

marioescuder82 commented 3 months ago

Hi!

I've a DFPlayer Mini HW-247A. I've tryed the DFPlayer_ESP8266_Basic example and it seems to work fine except by the setVolume(x) function which does nothing.

I'm initializing the DFPlayer object as follows:

mp3.begin(mp3Serial, MP3_SERIAL_TIMEOUT, DFPLAYER_MINI, false);

If I use the DFPLAYER_HW_247A option insted of DFPLAYER_MINI, the code doesn't work.

What am I doing wrong?

Thanks in advance!

Mario