I have two problems with the same Sketch. I tried to do this on my own, but I have not found anything (that works) that answers my question, how do I adjust the “Equalizer” on a DFPlayer Mini? I copied the 0 – 5 list, and tried the code another person used on his program, but again, it didn’t make it through compilation.
I used the following program from a gentleman on YouTube. It’s the first one that works after I switched from a Pro Mini to a Nano;
The other problem I am having with this is the ‘void loop’ play. I want a breathing sound to play every 4 ½ seconds, put it’s coming out as if I were running a marathon! I am going to try a very short delay, like (50) and then try the regular delay at (4450), to see if that short pause puts things back on track!
I thank you in advance for any help that is provided!
C:\Users\geojz\Documents\Arduino\Arduino File Library\Sound01_mar28b\Sound01_mar28b.ino: In function 'void setup()':
C:\Users\geojz\Documents\Arduino\Arduino File Library\Sound01_mar28b\Sound01_mar28b.ino:8:6: error: 'class MP3Player' has no member named 'EQ'
mp3.EQ(2)
^~
exit status 1
Compilation error: 'class MP3Player' has no member named 'EQ'
OR THIS;
C:\Users\geojz\Documents\Arduino\Arduino File Library\Sound01_mar28b\Sound01_mar28b.ino: In function 'void setup()':
C:\Users\geojz\Documents\Arduino\Arduino File Library\Sound01_mar28b\Sound01_mar28b.ino:8:2: error: 'mymp3' was not declared in this scope
mymp3.EQ(2)
^~~~~
C:\Users\geojz\Documents\Arduino\Arduino File Library\Sound01_mar28b\Sound01_mar28b.ino:8:2: note: suggested alternative: 'mp3'
mymp3.EQ(2)
^~~~~
mp3
exit status 1
Compilation error: 'mymp3' was not declared in this scope
...
How would I declare something to make it work? I tried the command lines and they don't work well with this either.
Just a note, I saw someone using "mymp3" in their sketch while using an "EQ" command and when I changed the original sketch, the last error command stated that "mymp3" was not declared in the setup.
Okay, here's a really stupid question! When I include a file, i.e.: #include "FileName" at the start of my sketch, is that file supposed to be in the folder with the sketch I'm working on? I finally got a sketch to compile with no errors that includes a working EQ. I am wondering if that's causing a problem I'm having making it work?
Thanks for the heads up! I'll put those "included" files in the folder with the sketch to see if that helps me get everything going the way I would like it to.