Fehlermeldung bei AIO Plus

Hallo zusammen,

ich habe eben versucht meine AIO plus platine in betrieb zu nehmen und erhalte folgenden fehler:

WARNUNG: Bibliothek JC_Button behauptet auf avr Architektur(en) ausgeführt werden zu können und ist möglicherweise inkompatibel mit Ihrer derzeitigen Platine, welche auf megaavr Architektur(en) ausgeführt wird.
In file included from C:\Users\NIKA\Desktop\Tonuino\Tonuino.ino:1:0:
c:\Users\NIKA\Documents\Arduino\libraries\DFPlayer_Mini_Mp3_by_Makuna\src/DFMiniMp3.h: In instantiation of 'uint16_t DFMiniMp3<T_SERIAL_METHOD, T_NOTIFICATION_METHOD, T_CHIP_VARIANT>::listenForReply(uint8_t) [with T_SERIAL_METHOD = SoftwareSerial; T_NOTIFICATION_METHOD = Mp3Notify; T_CHIP_VARIANT = Mp3ChipOriginal; uint16_t = unsigned int; uint8_t = unsigned char]':
c:\Users\NIKA\Documents\Arduino\libraries\DFPlayer_Mini_Mp3_by_Makuna\src/DFMiniMp3.h:223:27:   required from 'void DFMiniMp3<T_SERIAL_METHOD, T_NOTIFICATION_METHOD, T_CHIP_VARIANT>::loop() [with T_SERIAL_METHOD = SoftwareSerial; T_NOTIFICATION_METHOD = Mp3Notify; T_CHIP_VARIANT = Mp3ChipOriginal]'
C:\Users\NIKA\Desktop\Tonuino\Tonuino.ino:713:14:   required from here
c:\Users\NIKA\Documents\Arduino\libraries\DFPlayer_Mini_Mp3_by_Makuna\src/DFMiniMp3.h:598:62: error: no matching function for call to 'Mp3Notify::OnPlayFinished(DFMiniMp3<SoftwareSerial, Mp3Notify>&, DfMp3_PlaySources, uint16_t&)'
                         T_NOTIFICATION_METHOD::OnPlayFinished(*this, DfMp3_PlaySources_Usb, replyArg);
                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\NIKA\Desktop\Tonuino\Tonuino.ino:100:17: note: candidate: static void Mp3Notify::OnPlayFinished(DfMp3_PlaySources, uint16_t)
     static void OnPlayFinished(DfMp3_PlaySources source, uint16_t track) {
                 ^~~~~~~~~~~~~~
C:\Users\NIKA\Desktop\Tonuino\Tonuino.ino:100:17: note:   candidate expects 2 arguments, 3 provided
In file included from C:\Users\NIKA\Desktop\Tonuino\Tonuino.ino:1:0:
c:\Users\NIKA\Documents\Arduino\libraries\DFPlayer_Mini_Mp3_by_Makuna\src/DFMiniMp3.h:603:62: error: no matching function for call to 'Mp3Notify::OnPlayFinished(DFMiniMp3<SoftwareSerial, Mp3Notify>&, DfMp3_PlaySources, uint16_t&)'
                         T_NOTIFICATION_METHOD::OnPlayFinished(*this, DfMp3_PlaySources_Sd, replyArg);
                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\NIKA\Desktop\Tonuino\Tonuino.ino:100:17: note: candidate: static void Mp3Notify::OnPlayFinished(DfMp3_PlaySources, uint16_t)
     static void OnPlayFinished(DfMp3_PlaySources source, uint16_t track) {
                 ^~~~~~~~~~~~~~
C:\Users\NIKA\Desktop\Tonuino\Tonuino.ino:100:17: note:   candidate expects 2 arguments, 3 provided
In file included from C:\Users\NIKA\Desktop\Tonuino\Tonuino.ino:1:0:
c:\Users\NIKA\Documents\Arduino\libraries\DFPlayer_Mini_Mp3_by_Makuna\src/DFMiniMp3.h:607:62: error: no matching function for call to 'Mp3Notify::OnPlayFinished(DFMiniMp3<SoftwareSerial, Mp3Notify>&, DfMp3_PlaySources, uint16_t&)'
                         T_NOTIFICATION_METHOD::OnPlayFinished(*this, DfMp3_PlaySources_Flash, replyArg);
                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\NIKA\Desktop\Tonuino\Tonuino.ino:100:17: note: candidate: static void Mp3Notify::OnPlayFinished(DfMp3_PlaySources, uint16_t)
     static void OnPlayFinished(DfMp3_PlaySources source, uint16_t track) {
                 ^~~~~~~~~~~~~~
C:\Users\NIKA\Desktop\Tonuino\Tonuino.ino:100:17: note:   candidate expects 2 arguments, 3 provided
In file included from C:\Users\NIKA\Desktop\Tonuino\Tonuino.ino:1:0:
c:\Users\NIKA\Documents\Arduino\libraries\DFPlayer_Mini_Mp3_by_Makuna\src/DFMiniMp3.h:612:66: error: no matching function for call to 'Mp3Notify::OnPlaySourceOnline(DFMiniMp3<SoftwareSerial, Mp3Notify>&, DfMp3_PlaySources)'
                         T_NOTIFICATION_METHOD::OnPlaySourceOnline(*this, static_cast<DfMp3_PlaySources>(replyArg));
                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\NIKA\Desktop\Tonuino\Tonuino.ino:106:17: note: candidate: static void Mp3Notify::OnPlaySourceOnline(DfMp3_PlaySources)
     static void OnPlaySourceOnline(DfMp3_PlaySources source) {
                 ^~~~~~~~~~~~~~~~~~
C:\Users\NIKA\Desktop\Tonuino\Tonuino.ino:106:17: note:   candidate expects 1 argument, 2 provided
In file included from C:\Users\NIKA\Desktop\Tonuino\Tonuino.ino:1:0:
c:\Users\NIKA\Documents\Arduino\libraries\DFPlayer_Mini_Mp3_by_Makuna\src/DFMiniMp3.h:617:68: error: no matching function for call to 'Mp3Notify::OnPlaySourceInserted(DFMiniMp3<SoftwareSerial, Mp3Notify>&, DfMp3_PlaySources)'
                         T_NOTIFICATION_METHOD::OnPlaySourceInserted(*this, static_cast<DfMp3_PlaySources>(replyArg));
                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\NIKA\Desktop\Tonuino\Tonuino.ino:109:17: note: candidate: static void Mp3Notify::OnPlaySourceInserted(DfMp3_PlaySources)
     static void OnPlaySourceInserted(DfMp3_PlaySources source) {
                 ^~~~~~~~~~~~~~~~~~~~
C:\Users\NIKA\Desktop\Tonuino\Tonuino.ino:109:17: note:   candidate expects 1 argument, 2 provided
In file included from C:\Users\NIKA\Desktop\Tonuino\Tonuino.ino:1:0:
c:\Users\NIKA\Documents\Arduino\libraries\DFPlayer_Mini_Mp3_by_Makuna\src/DFMiniMp3.h:622:67: error: no matching function for call to 'Mp3Notify::OnPlaySourceRemoved(DFMiniMp3<SoftwareSerial, Mp3Notify>&, DfMp3_PlaySources)'
                         T_NOTIFICATION_METHOD::OnPlaySourceRemoved(*this, static_cast<DfMp3_PlaySources>(replyArg));
                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\NIKA\Desktop\Tonuino\Tonuino.ino:112:17: note: candidate: static void Mp3Notify::OnPlaySourceRemoved(DfMp3_PlaySources)
     static void OnPlaySourceRemoved(DfMp3_PlaySources source) {
                 ^~~~~~~~~~~~~~~~~~~
C:\Users\NIKA\Desktop\Tonuino\Tonuino.ino:112:17: note:   candidate expects 1 argument, 2 provided
In file included from C:\Users\NIKA\Desktop\Tonuino\Tonuino.ino:1:0:
c:\Users\NIKA\Documents\Arduino\libraries\DFPlayer_Mini_Mp3_by_Makuna\src/DFMiniMp3.h:626:55: error: no matching function for call to 'Mp3Notify::OnError(DFMiniMp3<SoftwareSerial, Mp3Notify>&, uint16_t&)'
                         T_NOTIFICATION_METHOD::OnError(*this, replyArg);
                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
C:\Users\NIKA\Desktop\Tonuino\Tonuino.ino:88:17: note: candidate: static void Mp3Notify::OnError(uint16_t)
     static void OnError(uint16_t errorCode) {
                 ^~~~~~~
C:\Users\NIKA\Desktop\Tonuino\Tonuino.ino:88:17: note:   candidate expects 1 argument, 2 provided
In file included from C:\Users\NIKA\Desktop\Tonuino\Tonuino.ino:1:0:
c:\Users\NIKA\Documents\Arduino\libraries\DFPlayer_Mini_Mp3_by_Makuna\src/DFMiniMp3.h:640:51: error: no matching function for call to 'Mp3Notify::OnError(DFMiniMp3<SoftwareSerial, Mp3Notify>&, uint16_t&)'
                     T_NOTIFICATION_METHOD::OnError(*this, replyArg);
                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
C:\Users\NIKA\Desktop\Tonuino\Tonuino.ino:88:17: note: candidate: static void Mp3Notify::OnError(uint16_t)
     static void OnError(uint16_t errorCode) {
                 ^~~~~~~
C:\Users\NIKA\Desktop\Tonuino\Tonuino.ino:88:17: note:   candidate expects 1 argument, 2 provided

exit status 1

Compilation error: exit status 1

Hat vielleicht jemand eine Idee was ich falsch mach?
Schon mal vielen Dank

Welche Version der DFPlayer Bibliothek hast du installiert?

Guten Abend,

vielen Dank für die schnelle Hilfe :blush: jetzt läufts :muscle:. Ich hatte zwar die richtige Version vom DFPlayer aber die falsche .ino-Datei…

1 „Gefällt mir“