wenn ich über arduino neu compilen will kommt folgende Nachricht:
> file included from C:\Users\User\Documents\Arduino\dd\dd.ino:1:0:
c:\Users\User\Documents\Arduino\libraries\DFPlayer_Mini_Mp3_by_Makuna\src/DFMiniMp3.h: In instantiation of 'DFMiniMp3<T_SERIAL_METHOD, T_NOTIFICATION_METHOD, T_CHIP_VARIANT, C_ACK_TIMEOUT>::reply_t DFMiniMp3<T_SERIAL_METHOD, T_NOTIFICATION_METHOD, T_CHIP_VARIANT, C_ACK_TIMEOUT>::retryCommand(uint8_t, uint8_t, uint16_t, bool) [with T_SERIAL_METHOD = SoftwareSerial; T_NOTIFICATION_METHOD = Mp3Notify; T_CHIP_VARIANT = Mp3ChipOriginal; long unsigned int C_ACK_TIMEOUT = 900; uint8_t = unsigned char; uint16_t = unsigned int]':
c:\Users\User\Documents\Arduino\libraries\DFPlayer_Mini_Mp3_by_Makuna\src/DFMiniMp3.h:599:21: required from 'void DFMiniMp3<T_SERIAL_METHOD, T_NOTIFICATION_METHOD, T_CHIP_VARIANT, C_ACK_TIMEOUT>::setCommand(uint8_t, uint16_t) [with T_SERIAL_METHOD = SoftwareSerial; T_NOTIFICATION_METHOD = Mp3Notify; T_CHIP_VARIANT = Mp3ChipOriginal; long unsigned int C_ACK_TIMEOUT = 900; uint8_t = unsigned char; uint16_t = unsigned int]'
c:\Users\User\Documents\Arduino\libraries\DFPlayer_Mini_Mp3_by_Makuna\src/DFMiniMp3.h:275:19: required from 'void DFMiniMp3<T_SERIAL_METHOD, T_NOTIFICATION_METHOD, T_CHIP_VARIANT, C_ACK_TIMEOUT>::pause() [with T_SERIAL_METHOD = SoftwareSerial; T_NOTIFICATION_METHOD = Mp3Notify; T_CHIP_VARIANT = Mp3ChipOriginal; long unsigned int C_ACK_TIMEOUT = 900]'
C:\Users\User\Documents\Arduino\dd\dd.ino:270:19: required from here
c:\Users\User\Documents\Arduino\libraries\DFPlayer_Mini_Mp3_by_Makuna\src/DFMiniMp3.h:585:43: error: no matching function for call to 'Mp3Notify::OnError(DFMiniMp3<SoftwareSerial, Mp3Notify>&, uint16_t&)'
T_NOTIFICATION_METHOD::OnError(*this, reply.arg);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
C:\Users\User\Documents\Arduino\dd\dd.ino:87:17: note: candidate: static void Mp3Notify::OnError(uint16_t)
static void OnError(uint16_t errorCode) {
^~~~~~~
C:\Users\User\Documents\Arduino\dd\dd.ino:87:17: note: candidate expects 1 argument, 2 provided
In file included from C:\Users\User\Documents\Arduino\dd\dd.ino:1:0:
c:\Users\User\Documents\Arduino\libraries\DFPlayer_Mini_Mp3_by_Makuna\src/DFMiniMp3.h: In instantiation of 'void DFMiniMp3<T_SERIAL_METHOD, T_NOTIFICATION_METHOD, T_CHIP_VARIANT, C_ACK_TIMEOUT>::callNotification(DFMiniMp3<T_SERIAL_METHOD, T_NOTIFICATION_METHOD, T_CHIP_VARIANT, C_ACK_TIMEOUT>::reply_t) [with T_SERIAL_METHOD = SoftwareSerial; T_NOTIFICATION_METHOD = Mp3Notify; T_CHIP_VARIANT = Mp3ChipOriginal; long unsigned int C_ACK_TIMEOUT = 900]':
c:\Users\User\Documents\Arduino\libraries\DFPlayer_Mini_Mp3_by_Makuna\src/DFMiniMp3.h:403:29: required from 'bool DFMiniMp3<T_SERIAL_METHOD, T_NOTIFICATION_METHOD, T_CHIP_VARIANT, C_ACK_TIMEOUT>::abateNotification() [with T_SERIAL_METHOD = SoftwareSerial; T_NOTIFICATION_METHOD = Mp3Notify; T_CHIP_VARIANT = Mp3ChipOriginal; long unsigned int C_ACK_TIMEOUT = 900]'
c:\Users\User\Documents\Arduino\libraries\DFPlayer_Mini_Mp3_by_Makuna\src/DFMiniMp3.h:70:33: required from 'void DFMiniMp3<T_SERIAL_METHOD, T_NOTIFICATION_METHOD, T_CHIP_VARIANT, C_ACK_TIMEOUT>::loop() [with T_SERIAL_METHOD = SoftwareSerial; T_NOTIFICATION_METHOD = Mp3Notify; T_CHIP_VARIANT = Mp3ChipOriginal; long unsigned int C_ACK_TIMEOUT = 900]'
C:\Users\User\Documents\Arduino\dd\dd.ino:698:14: required from here
c:\Users\User\Documents\Arduino\libraries\DFPlayer_Mini_Mp3_by_Makuna\src/DFMiniMp3.h:414:50: error: no matching function for call to 'Mp3Notify::OnPlayFinished(DFMiniMp3<SoftwareSerial, Mp3Notify>&, DfMp3_PlaySources, uint16_t&)'
T_NOTIFICATION_METHOD::OnPlayFinished(*this, DfMp3_PlaySources_Usb, reply.arg);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\User\Documents\Arduino\dd\dd.ino:99:17: note: candidate: static void Mp3Notify::OnPlayFinished(DfMp3_PlaySources, uint16_t)
static void OnPlayFinished(DfMp3_PlaySources source, uint16_t track) {
^~~~~~~~~~~~~~
C:\Users\User\Documents\Arduino\dd\dd.ino:99:17: note: candidate expects 2 arguments, 3 provided
In file included from C:\Users\User\Documents\Arduino\dd\dd.ino:1:0:
c:\Users\User\Documents\Arduino\libraries\DFPlayer_Mini_Mp3_by_Makuna\src/DFMiniMp3.h:418:50: error: no matching function for call to 'Mp3Notify::OnPlayFinished(DFMiniMp3<SoftwareSerial, Mp3Notify>&, DfMp3_PlaySources, uint16_t&)'
T_NOTIFICATION_METHOD::OnPlayFinished(*this, DfMp3_PlaySources_Sd, reply.arg);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\User\Documents\Arduino\dd\dd.ino:99:17: note: candidate: static void Mp3Notify::OnPlayFinished(DfMp3_PlaySources, uint16_t)
static void OnPlayFinished(DfMp3_PlaySources source, uint16_t track) {
^~~~~~~~~~~~~~
C:\Users\User\Documents\Arduino\dd\dd.ino:99:17: note: candidate expects 2 arguments, 3 provided
In file included from C:\Users\User\Documents\Arduino\dd\dd.ino:1:0:
c:\Users\User\Documents\Arduino\libraries\DFPlayer_Mini_Mp3_by_Makuna\src/DFMiniMp3.h:422:50: error: no matching function for call to 'Mp3Notify::OnPlayFinished(DFMiniMp3<SoftwareSerial, Mp3Notify>&, DfMp3_PlaySources, uint16_t&)'
T_NOTIFICATION_METHOD::OnPlayFinished(*this, DfMp3_PlaySources_Flash, reply.arg);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\User\Documents\Arduino\dd\dd.ino:99:17: note: candidate: static void Mp3Notify::OnPlayFinished(DfMp3_PlaySources, uint16_t)
static void OnPlayFinished(DfMp3_PlaySources source, uint16_t track) {
^~~~~~~~~~~~~~
C:\Users\User\Documents\Arduino\dd\dd.ino:99:17: note: candidate expects 2 arguments, 3 provided
In file included from C:\Users\User\Documents\Arduino\dd\dd.ino:1:0:
c:\Users\User\Documents\Arduino\libraries\DFPlayer_Mini_Mp3_by_Makuna\src/DFMiniMp3.h:426:54: error: no matching function for call to 'Mp3Notify::OnPlaySourceOnline(DFMiniMp3<SoftwareSerial, Mp3Notify>&, DfMp3_PlaySources)'
T_NOTIFICATION_METHOD::OnPlaySourceOnline(*this, static_cast<DfMp3_PlaySources>(reply.arg));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\User\Documents\Arduino\dd\dd.ino:105:17: note: candidate: static void Mp3Notify::OnPlaySourceOnline(DfMp3_PlaySources)
static void OnPlaySourceOnline(DfMp3_PlaySources source) {
^~~~~~~~~~~~~~~~~~
C:\Users\User\Documents\Arduino\dd\dd.ino:105:17: note: candidate expects 1 argument, 2 provided
In file included from C:\Users\User\Documents\Arduino\dd\dd.ino:1:0:
c:\Users\User\Documents\Arduino\libraries\DFPlayer_Mini_Mp3_by_Makuna\src/DFMiniMp3.h:430:56: error: no matching function for call to 'Mp3Notify::OnPlaySourceInserted(DFMiniMp3<SoftwareSerial, Mp3Notify>&, DfMp3_PlaySources)'
T_NOTIFICATION_METHOD::OnPlaySourceInserted(*this, static_cast<DfMp3_PlaySources>(reply.arg));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\User\Documents\Arduino\dd\dd.ino:108:17: note: candidate: static void Mp3Notify::OnPlaySourceInserted(DfMp3_PlaySources)
static void OnPlaySourceInserted(DfMp3_PlaySources source) {
^~~~~~~~~~~~~~~~~~~~
C:\Users\User\Documents\Arduino\dd\dd.ino:108:17: note: candidate expects 1 argument, 2 provided
In file included from C:\Users\User\Documents\Arduino\dd\dd.ino:1:0:
c:\Users\User\Documents\Arduino\libraries\DFPlayer_Mini_Mp3_by_Makuna\src/DFMiniMp3.h:434:55: error: no matching function for call to 'Mp3Notify::OnPlaySourceRemoved(DFMiniMp3<SoftwareSerial, Mp3Notify>&, DfMp3_PlaySources)'
T_NOTIFICATION_METHOD::OnPlaySourceRemoved(*this, static_cast<DfMp3_PlaySources>(reply.arg));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\User\Documents\Arduino\dd\dd.ino:111:17: note: candidate: static void Mp3Notify::OnPlaySourceRemoved(DfMp3_PlaySources)
static void OnPlaySourceRemoved(DfMp3_PlaySources source) {
^~~~~~~~~~~~~~~~~~~
C:\Users\User\Documents\Arduino\dd\dd.ino:111:17: note: candidate expects 1 argument, 2 provided
In file included from C:\Users\User\Documents\Arduino\dd\dd.ino:1:0:
c:\Users\User\Documents\Arduino\libraries\DFPlayer_Mini_Mp3_by_Makuna\src/DFMiniMp3.h:438:43: error: no matching function for call to 'Mp3Notify::OnError(DFMiniMp3<SoftwareSerial, Mp3Notify>&, uint16_t&)'
T_NOTIFICATION_METHOD::OnError(*this, reply.arg);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
C:\Users\User\Documents\Arduino\dd\dd.ino:87:17: note: candidate: static void Mp3Notify::OnError(uint16_t)
static void OnError(uint16_t errorCode) {
^~~~~~~
C:\Users\User\Documents\Arduino\dd\dd.ino:87:17: note: candidate expects 1 argument, 2 provided
exit status 1
Compilation error: exit status 1 <