Replies: 1 comment 1 reply
-
I think you answered you own question, but you don't realize it. You state "the function in the class Mp3Notify only have one argument". This Mp3Notify class is implemented by you (it's in your sketch) and it is missing a required argument. You can fix that in your sketch by adding it. If all you did was copy the examples, then look at the examples again and you will see they have the extra parameter. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using VS Code and the library version is 1.1.0. I can't get my code to compile since all the
throw an error like:
error: no matching function for call to 'MP3ReplyManager::OnPlayFinished(DFMiniMp3<SoftwareSerial, MP3ReplyManager>&, DfMp3_PlaySources, uint16_t&)
I am no real coder and C++ is totally new for me, but
*this
T_NOTIFICATION_METHOD::OnPlayFinished(→ *this,← DfMp3_PlaySources_Usb, replyArg);
in the deklarations above seem to be the problem, since the functions in the class Mp3Notify only have one argument.
Beta Was this translation helpful? Give feedback.
All reactions