Hi,
erstmal danke für das Teilen deiner Version, mit dem LED Ring ist schon was feines…
ich habe auch versucht die TonUINO2.1_DEV_DISPLAY auch mit Tonuino_barni in Arduino 1.8.13 zu kompilieren, bekomme allerdings folgende Fehler
In file included from #\Desktop\TonUino\TonUINO-DEV_1\TonUINO-DEV_1\TonUINO-DEV\TonUINO2.1_DEV_DISPLAY\TonUINO2.1_DEV_DISPLAY.ino:11:0:
#\Documents\Arduino\libraries\DFPlayer_Mini_Mp3_by_Makuna\src/DFMiniMp3.h: In instantiation of 'uint16_t DFMiniMp3<T_SERIAL_METHOD, T_NOTIFICATION_METHOD>::listenForReply(uint8_t) [with T_SERIAL_METHOD = SoftwareSerial; T_NOTIFICATION_METHOD = Mp3Notify; uint16_t = unsigned int; uint8_t = unsigned char]':
#\Documents\Arduino\libraries\DFPlayer_Mini_Mp3_by_Makuna\src/DFMiniMp3.h:105:27: required from 'void DFMiniMp3<T_SERIAL_METHOD, T_NOTIFICATION_METHOD>::loop() [with T_SERIAL_METHOD = SoftwareSerial; T_NOTIFICATION_METHOD = Mp3Notify]'
#\Desktop\TonUino\TonUINO-DEV_1\TonUINO-DEV_1\TonUINO-DEV\TonUINO2.1_DEV_DISPLAY\TonUINO2.1_DEV_DISPLAY.ino:779:14: required from here
#\Documents\Arduino\libraries\DFPlayer_Mini_Mp3_by_Makuna\src/DFMiniMp3.h:505:62: error: no matching function for call to 'Mp3Notify::OnPlayFinished(DfMp3_PlaySources, uint16_t&)'
T_NOTIFICATION_METHOD::OnPlayFinished(DfMp3_PlaySources_Usb, replyArg);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#\Desktop\TonUino\TonUINO-DEV_1\TonUINO-DEV_1\TonUINO-DEV\TonUINO2.1_DEV_DISPLAY\TonUINO2.1_DEV_DISPLAY.ino:123:17: note: candidate: static void Mp3Notify::OnPlayFinished(uint16_t)
static void OnPlayFinished(uint16_t track) {
^~~~~~~~~~~~~~
#\Desktop\TonUino\TonUINO-DEV_1\TonUINO-DEV_1\TonUINO-DEV\TonUINO2.1_DEV_DISPLAY\TonUINO2.1_DEV_DISPLAY.ino:123:17: note: candidate expects 1 argument, 2 provided
In file included from #\Desktop\TonUino\TonUINO-DEV_1\TonUINO-DEV_1\TonUINO-DEV\TonUINO2.1_DEV_DISPLAY\TonUINO2.1_DEV_DISPLAY.ino:11:0:
#\Documents\Arduino\libraries\DFPlayer_Mini_Mp3_by_Makuna\src/DFMiniMp3.h:509:62: error: no matching function for call to 'Mp3Notify::OnPlayFinished(DfMp3_PlaySources, uint16_t&)'
T_NOTIFICATION_METHOD::OnPlayFinished(DfMp3_PlaySources_Sd, replyArg);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#\Desktop\TonUino\TonUINO-DEV_1\TonUINO-DEV_1\TonUINO-DEV\TonUINO2.1_DEV_DISPLAY\TonUINO2.1_DEV_DISPLAY.ino:123:17: note: candidate: static void Mp3Notify::OnPlayFinished(uint16_t)
static void OnPlayFinished(uint16_t track) {
^~~~~~~~~~~~~~
#\Desktop\TonUino\TonUINO-DEV_1\TonUINO-DEV_1\TonUINO-DEV\TonUINO2.1_DEV_DISPLAY\TonUINO2.1_DEV_DISPLAY.ino:123:17: note: candidate expects 1 argument, 2 provided
In file included from #\Desktop\TonUino\TonUINO-DEV_1\TonUINO-DEV_1\TonUINO-DEV\TonUINO2.1_DEV_DISPLAY\TonUINO2.1_DEV_DISPLAY.ino:11:0:
#\Documents\Arduino\libraries\DFPlayer_Mini_Mp3_by_Makuna\src/DFMiniMp3.h:513:62: error: no matching function for call to 'Mp3Notify::OnPlayFinished(DfMp3_PlaySources, uint16_t&)'
T_NOTIFICATION_METHOD::OnPlayFinished(DfMp3_PlaySources_Flash, replyArg);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#\Desktop\TonUino\TonUINO-DEV_1\TonUINO-DEV_1\TonUINO-DEV\TonUINO2.1_DEV_DISPLAY\TonUINO2.1_DEV_DISPLAY.ino:123:17: note: candidate: static void Mp3Notify::OnPlayFinished(uint16_t)
static void OnPlayFinished(uint16_t track) {
^~~~~~~~~~~~~~
#\Desktop\TonUino\TonUINO-DEV_1\TonUINO-DEV_1\TonUINO-DEV\TonUINO2.1_DEV_DISPLAY\TonUINO2.1_DEV_DISPLAY.ino:123:17: note: candidate expects 1 argument, 2 provided
In file included from #\Desktop\TonUino\TonUINO-DEV_1\TonUINO-DEV_1\TonUINO-DEV\TonUINO2.1_DEV_DISPLAY\TonUINO2.1_DEV_DISPLAY.ino:11:0:
#\Documents\Arduino\libraries\DFPlayer_Mini_Mp3_by_Makuna\src/DFMiniMp3.h:518:66: error: 'OnPlaySourceOnline' is not a member of 'Mp3Notify'
T_NOTIFICATION_METHOD::OnPlaySourceOnline(static_cast<DfMp3_PlaySources>(replyArg));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#\Documents\Arduino\libraries\DFPlayer_Mini_Mp3_by_Makuna\src/DFMiniMp3.h:523:68: error: 'OnPlaySourceInserted' is not a member of 'Mp3Notify'
T_NOTIFICATION_METHOD::OnPlaySourceInserted(static_cast<DfMp3_PlaySources>(replyArg));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#\Documents\Arduino\libraries\DFPlayer_Mini_Mp3_by_Makuna\src/DFMiniMp3.h:528:67: error: 'OnPlaySourceRemoed' is not a member of 'Mp3Notify'
T_NOTIFICATION_METHOD::OnPlaySourceRemoved(static_cast<DfMp3_PlaySources>(replyArg));
Habe an dem Code nichts geändert, habe ich eventuel die Falsche DFPlayer Version.
Auch habe ich ein problem mit dem FastLed.
TonUino\TonUINO-DEV_1\TonUINO-DEV_1\TonUINO-DEV\TonUINO2.1_DEV_DISPLAY\TonUINO2.1_DEV_DISPLAY.ino:32:0:
C:\Users\mathi\Documents\Arduino\libraries\FastLED/FastLED.h:14:21: note: #pragma message: FastLED version 3.003.000
#pragma message "FastLED version 3.003.000"
Könnte mir jemand weiterhelfen? Das wäre echt total super!