busel7 / JWSMurottal

Jam Waktu Sholat Menggunakan NodeMCU ESP8266 dan Panel LED P10 HUB12
GNU General Public License v3.0
17 stars 15 forks source link

Error DFPlayer #18

Closed fnhs closed 3 years ago

fnhs commented 3 years ago

C:\Users\Fnhs-hp\Documents\Arduino\libraries\DFMiniMp3-master\src/DFMiniMp3.h: In instantiation of 'uint16_t DFMiniMp3<T_SERIAL_METHOD, T_NOTIFICATION_METHOD>::listenForReply(uint8_t) [with T_SERIAL_METHOD = HardwareSerial; T_NOTIFICATION_METHOD = Mp3Notify; uint16_t = short unsigned int; uint8_t = unsigned char]':

C:\Users\Fnhs-hp\Documents\Arduino\libraries\DFMiniMp3-master\src/DFMiniMp3.h:332:38: required from 'uint16_t DFMiniMp3<T_SERIAL_METHOD, T_NOTIFICATION_METHOD>::getTotalTrackCount(DfMp3_PlaySource) [with T_SERIAL_METHOD = HardwareSerial; T_NOTIFICATION_METHOD = Mp3Notify; uint16_t = short unsigned int]'

sketch\DFPlayer.h:71:62: required from here

C:\Users\Fnhs-hp\Documents\Arduino\libraries\DFMiniMp3-master\src/DFMiniMp3.h:511:101: error: no matching function for call to 'Mp3Notify::OnPlayFinished(DFMiniMp3<HardwareSerial, Mp3Notify>&, DfMp3_PlaySources, uint16_t&)'

                     T_NOTIFICATION_METHOD::OnPlayFinished(*this, DfMp3_PlaySources_Usb, replyArg);

                                                                                                 ^

C:\Users\Fnhs-hp\Documents\Arduino\libraries\DFMiniMp3-master\src/DFMiniMp3.h:511:101: note: candidate is:

In file included from G:\project Arduino\jwt\JWSMurottal\JWSMurottal.ino:26:0:

sketch\DFPlayer.h:31:15: note: static void Mp3Notify::OnPlayFinished(DfMp3_PlaySources, uint16_t)

static void OnPlayFinished(DfMp3_PlaySources source, uint16_t track)

           ^

sketch\DFPlayer.h:31:15: note: candidate expects 2 arguments, 3 provided

In file included from G:\project Arduino\jwt\JWSMurottal\JWSMurottal.ino:9:0:

C:\Users\Fnhs-hp\Documents\Arduino\libraries\DFMiniMp3-master\src/DFMiniMp3.h:515:100: error: no matching function for call to 'Mp3Notify::OnPlayFinished(DFMiniMp3<HardwareSerial, Mp3Notify>&, DfMp3_PlaySources, uint16_t&)'

                     T_NOTIFICATION_METHOD::OnPlayFinished(*this, DfMp3_PlaySources_Sd, replyArg);

                                                                                                ^

C:\Users\Fnhs-hp\Documents\Arduino\libraries\DFMiniMp3-master\src/DFMiniMp3.h:515:100: note: candidate is:

In file included from G:\project Arduino\jwt\JWSMurottal\JWSMurottal.ino:26:0:

sketch\DFPlayer.h:31:15: note: static void Mp3Notify::OnPlayFinished(DfMp3_PlaySources, uint16_t)

static void OnPlayFinished(DfMp3_PlaySources source, uint16_t track)

           ^

sketch\DFPlayer.h:31:15: note: candidate expects 2 arguments, 3 provided

In file included from G:\project Arduino\jwt\JWSMurottal\JWSMurottal.ino:9:0:

C:\Users\Fnhs-hp\Documents\Arduino\libraries\DFMiniMp3-master\src/DFMiniMp3.h:519:103: error: no matching function for call to 'Mp3Notify::OnPlayFinished(DFMiniMp3<HardwareSerial, Mp3Notify>&, DfMp3_PlaySources, uint16_t&)'

                     T_NOTIFICATION_METHOD::OnPlayFinished(*this, DfMp3_PlaySources_Flash, replyArg);

                                                                                                   ^

C:\Users\Fnhs-hp\Documents\Arduino\libraries\DFMiniMp3-master\src/DFMiniMp3.h:519:103: note: candidate is:

In file included from G:\project Arduino\jwt\JWSMurottal\JWSMurottal.ino:26:0:

sketch\DFPlayer.h:31:15: note: static void Mp3Notify::OnPlayFinished(DfMp3_PlaySources, uint16_t)

static void OnPlayFinished(DfMp3_PlaySources source, uint16_t track)

           ^

sketch\DFPlayer.h:31:15: note: candidate expects 2 arguments, 3 provided

In file included from G:\project Arduino\jwt\JWSMurottal\JWSMurottal.ino:9:0:

C:\Users\Fnhs-hp\Documents\Arduino\libraries\DFMiniMp3-master\src/DFMiniMp3.h:524:114: error: no matching function for call to 'Mp3Notify::OnPlaySourceOnline(DFMiniMp3<HardwareSerial, Mp3Notify>&, DfMp3_PlaySources)'

                     T_NOTIFICATION_METHOD::OnPlaySourceOnline(*this, static_cast<DfMp3_PlaySources>(replyArg));

                                                                                                              ^

C:\Users\Fnhs-hp\Documents\Arduino\libraries\DFMiniMp3-master\src/DFMiniMp3.h:524:114: note: candidate is:

In file included from G:\project Arduino\jwt\JWSMurottal\JWSMurottal.ino:26:0:

sketch\DFPlayer.h:36:15: note: static void Mp3Notify::OnPlaySourceOnline(DfMp3_PlaySources)

static void OnPlaySourceOnline(DfMp3_PlaySources source)

           ^

sketch\DFPlayer.h:36:15: note: candidate expects 1 argument, 2 provided

In file included from G:\project Arduino\jwt\JWSMurottal\JWSMurottal.ino:9:0:

C:\Users\Fnhs-hp\Documents\Arduino\libraries\DFMiniMp3-master\src/DFMiniMp3.h:529:116: error: no matching function for call to 'Mp3Notify::OnPlaySourceInserted(DFMiniMp3<HardwareSerial, Mp3Notify>&, DfMp3_PlaySources)'

                     T_NOTIFICATION_METHOD::OnPlaySourceInserted(*this, static_cast<DfMp3_PlaySources>(replyArg));

                                                                                                                ^

C:\Users\Fnhs-hp\Documents\Arduino\libraries\DFMiniMp3-master\src/DFMiniMp3.h:529:116: note: candidate is:

In file included from G:\project Arduino\jwt\JWSMurottal\JWSMurottal.ino:26:0:

sketch\DFPlayer.h:40:15: note: static void Mp3Notify::OnPlaySourceInserted(DfMp3_PlaySources)

static void OnPlaySourceInserted(DfMp3_PlaySources source)

           ^

sketch\DFPlayer.h:40:15: note: candidate expects 1 argument, 2 provided

In file included from G:\project Arduino\jwt\JWSMurottal\JWSMurottal.ino:9:0:

C:\Users\Fnhs-hp\Documents\Arduino\libraries\DFMiniMp3-master\src/DFMiniMp3.h:534:115: error: no matching function for call to 'Mp3Notify::OnPlaySourceRemoved(DFMiniMp3<HardwareSerial, Mp3Notify>&, DfMp3_PlaySources)'

                     T_NOTIFICATION_METHOD::OnPlaySourceRemoved(*this, static_cast<DfMp3_PlaySources>(replyArg));

                                                                                                               ^

C:\Users\Fnhs-hp\Documents\Arduino\libraries\DFMiniMp3-master\src/DFMiniMp3.h:534:115: note: candidate is:

In file included from G:\project Arduino\jwt\JWSMurottal\JWSMurottal.ino:26:0:

sketch\DFPlayer.h:44:15: note: static void Mp3Notify::OnPlaySourceRemoved(DfMp3_PlaySources)

static void OnPlaySourceRemoved(DfMp3_PlaySources source)

           ^

sketch\DFPlayer.h:44:15: note: candidate expects 1 argument, 2 provided

In file included from G:\project Arduino\jwt\JWSMurottal\JWSMurottal.ino:9:0:

C:\Users\Fnhs-hp\Documents\Arduino\libraries\DFMiniMp3-master\src/DFMiniMp3.h:538:71: error: no matching function for call to 'Mp3Notify::OnError(DFMiniMp3<HardwareSerial, Mp3Notify>&, uint16_t&)'

                     T_NOTIFICATION_METHOD::OnError(*this, replyArg);

                                                                   ^

C:\Users\Fnhs-hp\Documents\Arduino\libraries\DFMiniMp3-master\src/DFMiniMp3.h:538:71: note: candidate is:

In file included from G:\project Arduino\jwt\JWSMurottal\JWSMurottal.ino:26:0:

sketch\DFPlayer.h:24:15: note: static void Mp3Notify::OnError(uint16_t)

static void OnError(uint16_t errorCode)

           ^

sketch\DFPlayer.h:24:15: note: candidate expects 1 argument, 2 provided

In file included from G:\project Arduino\jwt\JWSMurottal\JWSMurottal.ino:9:0:

C:\Users\Fnhs-hp\Documents\Arduino\libraries\DFMiniMp3-master\src/DFMiniMp3.h:552:67: error: no matching function for call to 'Mp3Notify::OnError(DFMiniMp3<HardwareSerial, Mp3Notify>&, uint16_t&)'

                 T_NOTIFICATION_METHOD::OnError(*this, replyArg);

                                                               ^

C:\Users\Fnhs-hp\Documents\Arduino\libraries\DFMiniMp3-master\src/DFMiniMp3.h:552:67: note: candidate is:

In file included from G:\project Arduino\jwt\JWSMurottal\JWSMurottal.ino:26:0:

sketch\DFPlayer.h:24:15: note: static void Mp3Notify::OnError(uint16_t)

static void OnError(uint16_t errorCode)

           ^

sketch\DFPlayer.h:24:15: note: candidate expects 1 argument, 2 provided

exit status 1 Error compiling for board NodeMCU 1.0 (ESP-12E Module).

This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.

busel7 commented 3 years ago

Sudah kami buat video update terkait issue ini silahkan

Update #1 JWS Murottal OpenSource Ramadhan 1442 Mei 2021 - Kompatibilitas Arduino Library

Video 1 : https://youtu.be/16YHyQWgdu4​ Video 2 : https://youtu.be/bXpgIumwC0Y