KY-040 Anschließen und nutzen

Guten Abend, bin nun mal wieder mit dem schönen Projekt gestartet.
Ich möchten, wenn dann eine Box mit Drehknopf zum Lauter/Leider machen.
Ich habe den Fork von genutzt. @marco-117
Github Github Marco Tonuino

Was und wie habe ich jetzt was gemacht:

  • #include <ClickEncoder.h> Bib hinzugefügt
  • ROTARY Encoder aktiviert

#ifdef ROTARY_ENCODER
#define ROTARY_ENCODER_PIN_A 5 //Default 5;
#define ROTARY_ENCODER_PIN_B 6 //Default 6;
#define ROTARY_ENCODER_PIN_SUPPLY 8 //uncomment if you want to use an IO pin as supply
#endif

  • Encoder angeschlossen D5 &D6, GND, +5V,A0 (Taster funktioniert)
  • Benutze Thoresten`s Platine Version 1.51
  • Hörspiel funktioniert abzuspielen wie vor zurück spulen auch.

Habe jetzt verschiedene Beiträge gelesen bin aber mir nicht sicher.
Habe gelesen etwas von mit Thorsten’s Platine funktioniert es nicht
funktioniert nicht mit Thorsten`s Platine

und weitere
Affenbox

Kann es an der Platine liegen und wenn ja was muss ich hier verändern?

Es gibt auch ein Thema, welches beschreibt, wie es doch mit der Platine funktioniert

Wenn du 5v zur Stromversorgung nutzt, brauchst du diese Zeile nicht aktivieren.

Damit meinst du die Zeile #define ROTARY_ENCODER?

Kann was an der Platine liegen?

Dankeschön für die schnelle Antwort.
Hi ja auch das Thema hatte ich gelesen. Habe jetzt auch die zus. Bib installiert „TimerOne“. ClickEncoder wurde bereits installiert.

Jetzt deaktiviert
#define ROTARY_ENCODER_PIN_SUPPLY 8 //uncomment if you want to use an IO pin as supply

Ja das meinte ich.
Damit meinst du die Zeile #define ROTARY_ENCODER ?

Sorry Frage war nicht gestellt :slight_smile:
Bei mir funktioniert das lauer leise gar nicht. Woran kann das liegen? Welche Information wird ggf. noch benötigt?

Hilfreich ist die Ausgabe der Konsole (Hinweise dazu siehe #software FAQ) mit Beschreibung was du gemacht hast. Dort kann man am besten erkennen, was im TonUINO passiert.

Nochmalls Dankeschön.

Ich habe gestartet eine Karte aufgelegt versucht lauter leise zu machen und Pause gedrückt.
Beim Drehen des Encoders ändert sich gar nichts in der Konsole, bei den anderen Dingen sieht man natürlich was passiert.

7}>la⸮⸮⸮W⸮6⸮	y^_N⸮⸮~⸮⸮⸮⸮⸮⸮<⸮23:22:37.163 -> TonUINO Version 2.1
23:22:37.163 -> created by Thorsten Voß and licensed under GNU/GPL.
23:22:37.163 -> Information and contribution at https://tonuino.de.
23:22:37.163 -> 
23:22:37.163 -> Fork by Marco Schulz
23:22:37.163 -> settings in flash at address 792
23:22:37.163 -> Version: 2
23:22:37.211 -> Max Vol: 25
23:22:37.211 -> Min Vole: 1
23:22:37.211 -> Init Vol: 8
23:22:37.211 -> EQ: 1
23:22:37.211 -> Locked: 0
23:22:37.211 -> Sleep Timer: 0
23:22:37.211 -> Inverted Vol Buttons: 1
23:22:37.211 -> Admin Menu locked: 0
23:22:37.211 -> Admin Menu Pin: 1111
23:22:37.211 -> Saved Modifier Mode: 0
23:22:37.211 -> set standby timer
23:22:37.211 -> milis: 0
23:22:37.211 -> Firmware Version: 0x92 = v2.0
23:22:37.257 -> === mfrc522-> RxGain_avg === 
23:22:41.851 -> Next track
23:22:41.851 -> no next track
23:22:41.851 -> Next track
23:22:41.851 -> no next track
23:23:47.387 -> ReadCardSerial finished
23:23:47.387 -> Card UID 
23:23:47.387 ->  29  24  A7  55 
23:23:47.387 -> PICC type MIFARE 1KB
23:23:47.387 -> Authenticating Classic using key A...
23:23:47.387 -> Reading data block4...
23:23:47.387 -> Data on Card :  13  37  B3  47 01 02 02 00 00 00 00 00 00 00 00 00 
23:23:47.387 -> 2
23:23:47.387 -> 2
23:23:47.387 -> new card
23:23:47.387 -> playFolder
23:23:47.387 -> disable standby timer
23:23:47.669 -> 4 tracks in folder 2
23:23:47.669 -> Album
23:23:47.669 -> play track: 1
23:23:48.190 -> card gone
23:24:09.595 -> set standby timer
23:24:09.595 -> milis: 0
23:24:12.043 -> disable standby timer
23:24:14.671 -> set standby timer
23:24:14.671 -> milis: 0
23:24:15.512 -> disable standby timer

Hast du #define ROTARY_ENCODER_PRINT denn aktiviert, damit die Ausgaben auch in der Konsole angezeigt werden?

Hi Danke für die Hilfe.
Ja du hast recht ist nicht aktiviert. Jetzt wollte ich es aktivieren und hochladen jetzt bekomme ich den nachfolgenden Fehler. Habe schon versucht die Urversion aufzuspielen aber auch da erhalte ich den gleichen Fehler.

Was bedeutet das? Zeile 2433 soll auf ein mal nicht mehr richtig sein!?

Die DEV Version von Thorsten funktioniert.

Arduino: 1.8.13 (Windows 10), Board: "Arduino Nano, ATmega328P (Old Bootloader)"

D:\Arduino\TonUINO-master\TonUINO-master\Tonuino\Tonuino.ino:149:1: warning: 'typedef' was ignored in this declaration

 typedef enum Enum_PlayMode

 ^~~~~~~

D:\Arduino\TonUINO-master\TonUINO-master\Tonuino\Tonuino.ino:163:1: warning: 'typedef' was ignored in this declaration

 typedef enum Enum_Modifier

 ^~~~~~~

D:\Arduino\TonUINO-master\TonUINO-master\Tonuino\Tonuino.ino:178:1: warning: 'typedef' was ignored in this declaration

 typedef enum Enum_SystemControl

 ^~~~~~~

D:\Arduino\TonUINO-master\TonUINO-master\Tonuino\Tonuino.ino:188:1: warning: 'typedef' was ignored in this declaration

 typedef enum Enum_AdminMenuOptions

 ^~~~~~~

D:\Arduino\TonUINO-master\TonUINO-master\Tonuino\Tonuino.ino:206:1: warning: 'typedef' was ignored in this declaration

 typedef enum Enum_PCS {

 ^~~~~~~

D:\Arduino\TonUINO-master\TonUINO-master\Tonuino\Tonuino.ino: In member function 'virtual void SleepTimer::loop()':

Tonuino:600:9: error: 'setstandbyTimer' was not declared in this scope

         setstandbyTimer();

         ^~~~~~~~~~~~~~~

D:\Arduino\TonUINO-master\TonUINO-master\Tonuino\Tonuino.ino:600:9: note: suggested alternative: 'SetupStandbyTimer'

         setstandbyTimer();

         ^~~~~~~~~~~~~~~

         SetupStandbyTimer

D:\Arduino\TonUINO-master\TonUINO-master\Tonuino\Tonuino.ino: In function 'void nextTrack(uint16_t)':

Tonuino:1312:9: error: 'setstandbyTimer' was not declared in this scope

         setstandbyTimer();

         ^~~~~~~~~~~~~~~

D:\Arduino\TonUINO-master\TonUINO-master\Tonuino\Tonuino.ino:1312:9: note: suggested alternative: 'SetupStandbyTimer'

         setstandbyTimer();

         ^~~~~~~~~~~~~~~

         SetupStandbyTimer

Tonuino:1322:9: error: 'setstandbyTimer' was not declared in this scope

         setstandbyTimer();

         ^~~~~~~~~~~~~~~

D:\Arduino\TonUINO-master\TonUINO-master\Tonuino\Tonuino.ino:1322:9: note: suggested alternative: 'SetupStandbyTimer'

         setstandbyTimer();

         ^~~~~~~~~~~~~~~

         SetupStandbyTimer

Tonuino:1355:9: error: 'writeAudiobookMemory' was not declared in this scope

         writeAudiobookMemory (myFolder->folder, myFolder->special3, currentTrack);

         ^~~~~~~~~~~~~~~~~~~~

Tonuino:1358:9: error: 'writeAudiobookMemory' was not declared in this scope

         writeAudiobookMemory (myFolder->folder, myFolder->special3, firstTrack);

         ^~~~~~~~~~~~~~~~~~~~

Tonuino:1360:9: error: 'setstandbyTimer' was not declared in this scope

         setstandbyTimer();

         ^~~~~~~~~~~~~~~

D:\Arduino\TonUINO-master\TonUINO-master\Tonuino\Tonuino.ino:1360:9: note: suggested alternative: 'SetupStandbyTimer'

         setstandbyTimer();

         ^~~~~~~~~~~~~~~

         SetupStandbyTimer

Tonuino:1368:9: error: 'writeAudiobookMemory' was not declared in this scope

         writeAudiobookMemory (myFolder->folder, myFolder->special3, currentTrack);

         ^~~~~~~~~~~~~~~~~~~~

Tonuino:1371:9: error: 'writeAudiobookMemory' was not declared in this scope

         writeAudiobookMemory (myFolder->folder, myFolder->special3, firstTrack);

         ^~~~~~~~~~~~~~~~~~~~

Tonuino:1373:9: error: 'setstandbyTimer' was not declared in this scope

         setstandbyTimer();

         ^~~~~~~~~~~~~~~

D:\Arduino\TonUINO-master\TonUINO-master\Tonuino\Tonuino.ino:1373:9: note: suggested alternative: 'SetupStandbyTimer'

         setstandbyTimer();

         ^~~~~~~~~~~~~~~

         SetupStandbyTimer

Tonuino:1382:7: error: 'setstandbyTimer' was not declared in this scope

       setstandbyTimer();

       ^~~~~~~~~~~~~~~

D:\Arduino\TonUINO-master\TonUINO-master\Tonuino\Tonuino.ino:1382:7: note: suggested alternative: 'SetupStandbyTimer'

       setstandbyTimer();

       ^~~~~~~~~~~~~~~

       SetupStandbyTimer

Tonuino:1388:3: error: 'disablestandbyTimer' was not declared in this scope

   disablestandbyTimer();

   ^~~~~~~~~~~~~~~~~~~

D:\Arduino\TonUINO-master\TonUINO-master\Tonuino\Tonuino.ino:1388:3: note: suggested alternative: 'SetupStandbyTimer'

   disablestandbyTimer();

   ^~~~~~~~~~~~~~~~~~~

   SetupStandbyTimer

D:\Arduino\TonUINO-master\TonUINO-master\Tonuino\Tonuino.ino: In function 'void previousTrack()':

Tonuino:1472:7: error: 'writeAudiobookMemory' was not declared in this scope

       writeAudiobookMemory (myFolder->folder, myFolder->special3, currentTrack);

       ^~~~~~~~~~~~~~~~~~~~

Tonuino:1490:7: error: 'setstandbyTimer' was not declared in this scope

       setstandbyTimer();

       ^~~~~~~~~~~~~~~

D:\Arduino\TonUINO-master\TonUINO-master\Tonuino\Tonuino.ino:1490:7: note: suggested alternative: 'SetupStandbyTimer'

       setstandbyTimer();

       ^~~~~~~~~~~~~~~

       SetupStandbyTimer

Tonuino:1495:3: error: 'disablestandbyTimer' was not declared in this scope

   disablestandbyTimer();

   ^~~~~~~~~~~~~~~~~~~

D:\Arduino\TonUINO-master\TonUINO-master\Tonuino\Tonuino.ino:1495:3: note: suggested alternative: 'SetupStandbyTimer'

   disablestandbyTimer();

   ^~~~~~~~~~~~~~~~~~~

   SetupStandbyTimer

D:\Arduino\TonUINO-master\TonUINO-master\Tonuino\Tonuino.ino: In function 'void setup()':

Tonuino:1606:5: error: 'SetModifier' was not declared in this scope

     SetModifier(mySettings.savedModifier);

     ^~~~~~~~~~~

D:\Arduino\TonUINO-master\TonUINO-master\Tonuino\Tonuino.ino:1606:5: note: suggested alternative: 'Modifier'

     SetModifier(mySettings.savedModifier);

     ^~~~~~~~~~~

     Modifier

Tonuino:1609:3: error: 'setstandbyTimer' was not declared in this scope

   setstandbyTimer();

   ^~~~~~~~~~~~~~~

D:\Arduino\TonUINO-master\TonUINO-master\Tonuino\Tonuino.ino:1609:3: note: suggested alternative: 'SetupStandbyTimer'

   setstandbyTimer();

   ^~~~~~~~~~~~~~~

   SetupStandbyTimer

D:\Arduino\TonUINO-master\TonUINO-master\Tonuino\Tonuino.ino:1671:27: warning: invalid conversion from 'int' to 'DfMp3_Eq' [-fpermissive]

   mp3.setEq(mySettings.eq - 1);

             ~~~~~~~~~~~~~~^~~

In file included from D:\Arduino\TonUINO-master\TonUINO-master\Tonuino\Tonuino.ino:1:0:

C:\Users\Andreas\Documents\Arduino\libraries\DFPlayer_Mini_Mp3_by_Makuna\src/DFMiniMp3.h:251:10: note:   initializing argument 1 of 'void DFMiniMp3<T_SERIAL_METHOD, T_NOTIFICATION_METHOD>::setEq(DfMp3_Eq) [with T_SERIAL_METHOD = SoftwareSerial; T_NOTIFICATION_METHOD = Mp3Notify]'

     void setEq(DfMp3_Eq eq)

          ^~~~~

D:\Arduino\TonUINO-master\TonUINO-master\Tonuino\Tonuino.ino: In function 'void playFolder()':

Tonuino:1775:3: error: 'disablestandbyTimer' was not declared in this scope

   disablestandbyTimer();

   ^~~~~~~~~~~~~~~~~~~

D:\Arduino\TonUINO-master\TonUINO-master\Tonuino\Tonuino.ino:1775:3: note: suggested alternative: 'SetupStandbyTimer'

   disablestandbyTimer();

   ^~~~~~~~~~~~~~~~~~~

   SetupStandbyTimer

Tonuino:1847:22: error: 'readAudiobookMemory' was not declared in this scope

       currentTrack = readAudiobookMemory(myFolder->folder, myFolder->special3);

                      ^~~~~~~~~~~~~~~~~~~

D:\Arduino\TonUINO-master\TonUINO-master\Tonuino\Tonuino.ino: In function 'void loop()':

Tonuino:1939:3: error: 'checkStandbyAtMillis' was not declared in this scope

   checkStandbyAtMillis();

   ^~~~~~~~~~~~~~~~~~~~

Tonuino:1994:9: error: 'writeAudiobookMemory' was not declared in this scope

         writeAudiobookMemory (myFolder->folder, myFolder->special3, currentTrack);

         ^~~~~~~~~~~~~~~~~~~~

Tonuino:2015:9: error: 'setstandbyTimer' was not declared in this scope

         setstandbyTimer();

         ^~~~~~~~~~~~~~~

D:\Arduino\TonUINO-master\TonUINO-master\Tonuino\Tonuino.ino:2015:9: note: suggested alternative: 'SetupStandbyTimer'

         setstandbyTimer();

         ^~~~~~~~~~~~~~~

         SetupStandbyTimer

Tonuino:2019:9: error: 'disablestandbyTimer' was not declared in this scope

         disablestandbyTimer();

         ^~~~~~~~~~~~~~~~~~~

D:\Arduino\TonUINO-master\TonUINO-master\Tonuino\Tonuino.ino:2019:9: note: suggested alternative: 'SetupStandbyTimer'

         disablestandbyTimer();

         ^~~~~~~~~~~~~~~~~~~

         SetupStandbyTimer

Tonuino:2151:3: error: 'handleCardReader' was not declared in this scope

   handleCardReader();

   ^~~~~~~~~~~~~~~~

D:\Arduino\TonUINO-master\TonUINO-master\Tonuino\Tonuino.ino: In function 'void adminMenu(bool)':

D:\Arduino\TonUINO-master\TonUINO-master\Tonuino\Tonuino.ino:2178:37: warning: default argument given for parameter 1 of 'void adminMenu(bool)' [-fpermissive]

 void adminMenu(bool fromCard = false) {

                                     ^

D:\Arduino\TonUINO-master\TonUINO-master\Tonuino\Tonuino.ino:296:6: note: previous specification in 'void adminMenu(bool)' here

 void adminMenu(bool fromCard = false);

      ^~~~~~~~~

D:\Arduino\TonUINO-master\TonUINO-master\Tonuino\Tonuino.ino: In function 'void adminMenu(bool)':

Tonuino:2188:3: error: 'disablestandbyTimer' was not declared in this scope

   disablestandbyTimer();

   ^~~~~~~~~~~~~~~~~~~

D:\Arduino\TonUINO-master\TonUINO-master\Tonuino\Tonuino.ino:2188:3: note: suggested alternative: 'SetupStandbyTimer'

   disablestandbyTimer();

   ^~~~~~~~~~~~~~~~~~~

   SetupStandbyTimer

D:\Arduino\TonUINO-master\TonUINO-master\Tonuino\Tonuino.ino:2265:29: warning: invalid conversion from 'int' to 'DfMp3_Eq' [-fpermissive]

     mp3.setEq(mySettings.eq - 1);

               ~~~~~~~~~~~~~~^~~

In file included from D:\Arduino\TonUINO-master\TonUINO-master\Tonuino\Tonuino.ino:1:0:

C:\Users\Andreas\Documents\Arduino\libraries\DFPlayer_Mini_Mp3_by_Makuna\src/DFMiniMp3.h:251:10: note:   initializing argument 1 of 'void DFMiniMp3<T_SERIAL_METHOD, T_NOTIFICATION_METHOD>::setEq(DfMp3_Eq) [with T_SERIAL_METHOD = SoftwareSerial; T_NOTIFICATION_METHOD = Mp3Notify]'

     void setEq(DfMp3_Eq eq)

          ^~~~~

Tonuino:2273:9: error: 'setupModifier' was not declared in this scope

     if (setupModifier(&tempCard.nfcFolderSettings)) {

         ^~~~~~~~~~~~~

D:\Arduino\TonUINO-master\TonUINO-master\Tonuino\Tonuino.ino:2273:9: note: suggested alternative: 'activeModifier'

     if (setupModifier(&tempCard.nfcFolderSettings)) {

         ^~~~~~~~~~~~~

         activeModifier

D:\Arduino\TonUINO-master\TonUINO-master\Tonuino\Tonuino.ino:2422:24: warning: invalid conversion from 'int8_t* {aka signed char*}' to 'uint8_t* {aka unsigned char*}' [-fpermissive]

         if (askCode(pin)) {

                        ^

D:\Arduino\TonUINO-master\TonUINO-master\Tonuino\Tonuino.ino:2436:6: note:   initializing argument 1 of 'bool askCode(uint8_t*)'

 bool askCode(uint8_t *code) {

      ^~~~~~~

Tonuino:2433:3: error: 'setstandbyTimer' was not declared in this scope

   setstandbyTimer();

   ^~~~~~~~~~~~~~~

D:\Arduino\TonUINO-master\TonUINO-master\Tonuino\Tonuino.ino:2433:3: note: suggested alternative: 'SetupStandbyTimer'

   setstandbyTimer();

   ^~~~~~~~~~~~~~~

   SetupStandbyTimer

D:\Arduino\TonUINO-master\TonUINO-master\Tonuino\Tonuino.ino: In function 'uint8_t voiceMenu(int, int, int, bool, int, int, bool)':

D:\Arduino\TonUINO-master\TonUINO-master\Tonuino\Tonuino.ino:2453:120: warning: default argument given for parameter 4 of 'uint8_t voiceMenu(int, int, int, bool, int, int, bool)' [-fpermissive]

                   bool preview = false, int previewFromFolder = 0, int defaultValue = 0, bool exitWithLongPress = false) {

                                                                                                                        ^

D:\Arduino\TonUINO-master\TonUINO-master\Tonuino\Tonuino.ino:290:9: note: previous specification in 'uint8_t voiceMenu(int, int, int, bool, int, int, bool)' here

 uint8_t voiceMenu(int numberOfOptions, int startMessage, int messageOffset,

         ^~~~~~~~~

D:\Arduino\TonUINO-master\TonUINO-master\Tonuino\Tonuino.ino:2453:120: warning: default argument given for parameter 5 of 'uint8_t voiceMenu(int, int, int, bool, int, int, bool)' [-fpermissive]

                   bool preview = false, int previewFromFolder = 0, int defaultValue = 0, bool exitWithLongPress = false) {

                                                                                                                        ^

D:\Arduino\TonUINO-master\TonUINO-master\Tonuino\Tonuino.ino:290:9: note: previous specification in 'uint8_t voiceMenu(int, int, int, bool, int, int, bool)' here

 uint8_t voiceMenu(int numberOfOptions, int startMessage, int messageOffset,

         ^~~~~~~~~

D:\Arduino\TonUINO-master\TonUINO-master\Tonuino\Tonuino.ino:2453:120: warning: default argument given for parameter 6 of 'uint8_t voiceMenu(int, int, int, bool, int, int, bool)' [-fpermissive]

                   bool preview = false, int previewFromFolder = 0, int defaultValue = 0, bool exitWithLongPress = false) {

                                                                                                                        ^

D:\Arduino\TonUINO-master\TonUINO-master\Tonuino\Tonuino.ino:290:9: note: previous specification in 'uint8_t voiceMenu(int, int, int, bool, int, int, bool)' here

 uint8_t voiceMenu(int numberOfOptions, int startMessage, int messageOffset,

         ^~~~~~~~~

D:\Arduino\TonUINO-master\TonUINO-master\Tonuino\Tonuino.ino:2453:120: warning: default argument given for parameter 7 of 'uint8_t voiceMenu(int, int, int, bool, int, int, bool)' [-fpermissive]

                   bool preview = false, int previewFromFolder = 0, int defaultValue = 0, bool exitWithLongPress = false) {

                                                                                                                        ^

D:\Arduino\TonUINO-master\TonUINO-master\Tonuino\Tonuino.ino:290:9: note: previous specification in 'uint8_t voiceMenu(int, int, int, bool, int, int, bool)' here

 uint8_t voiceMenu(int numberOfOptions, int startMessage, int messageOffset,

         ^~~~~~~~~

D:\Arduino\TonUINO-master\TonUINO-master\Tonuino\Tonuino.ino: In function 'uint8_t voiceMenu(int, int, int, bool, int, int, bool)':

Tonuino:2477:7: error: 'checkStandbyAtMillis' was not declared in this scope

       checkStandbyAtMillis();

       ^~~~~~~~~~~~~~~~~~~~

D:\Arduino\TonUINO-master\TonUINO-master\Tonuino\Tonuino.ino: In function 'bool readCard(nfcTagObject*)':

Tonuino:2800:14: error: 'SetModifier' was not declared in this scope

       return SetModifier (tempCard.nfcFolderSettings);

              ^~~~~~~~~~~

D:\Arduino\TonUINO-master\TonUINO-master\Tonuino\Tonuino.ino:2800:14: note: suggested alternative: 'Modifier'

       return SetModifier (tempCard.nfcFolderSettings);

              ^~~~~~~~~~~

              Modifier

D:\Arduino\TonUINO-master\TonUINO-master\Tonuino\Tonuino.ino: In function 'void RotEncSetVolume()':

Tonuino:2955:25: error: a function-definition is not allowed here before '{' token

 void RotEncSetVolume () {

                         ^

Tonuino:2996:17: error: a function-definition is not allowed here before '{' token

 void timerIsr() {

                 ^

Tonuino:3094:56: error: a function-definition is not allowed here before '{' token

 bool setupModifier(folderSettings * tmpFolderSettings) {

                                                        ^

Tonuino:3133:53: error: a function-definition is not allowed here before '{' token

 bool SetModifier (folderSettings tmpFolderSettings) {

                                                     ^

Tonuino:3177:23: error: a function-definition is not allowed here before '{' token

 bool RemoveModifier() {

                       ^

Tonuino:3201:62: error: a function-definition is not allowed here before '{' token

 bool setupSystemControl (folderSettings * tmpFolderSettings) {

                                                              ^

Tonuino:3217:68: error: a function-definition is not allowed here before '{' token

 uint8_t readAudiobookMemory (uint8_t folder, uint8_t memoryNumber) {

                                                                    ^

Tonuino:3236:81: error: a function-definition is not allowed here before '{' token

 void writeAudiobookMemory (uint8_t folder, uint8_t memoryNumber, uint8_t track) {

                                                                                 ^

Tonuino:3257:1: error: a function-definition is not allowed here before '{' token

 {

 ^

Tonuino:3310:1: error: a function-definition is not allowed here before '{' token

 {

 ^

Tonuino:3363:18: error: a function-definition is not allowed here before '{' token

 void onNewCard() {

                  ^

Tonuino:3381:24: error: a function-definition is not allowed here before '{' token

 void setstandbyTimer() {

                        ^

Tonuino:3399:28: error: a function-definition is not allowed here before '{' token

 void disablestandbyTimer() {

                            ^

Tonuino:3410:29: error: a function-definition is not allowed here before '{' token

 void checkStandbyAtMillis() {

                             ^

Tonuino:3422:17: error: a function-definition is not allowed here before '{' token

 void shutDown() {

                 ^

Tonuino:3475:1: error: expected '}' at end of input

 }

 ^

exit status 1

'setstandbyTimer' was not declared in this scope



Dieser Bericht wäre detaillierter, wenn die Option
"Ausführliche Ausgabe während der Kompilierung"
in Datei -> Voreinstellungen aktiviert wäre.

Der Fehler ist bekannt und die Lösung findest du hier im Thema zum Affenbox Fork.

Bitte markiere beim nächsten mal, wenn du Output einfügst, hinterher den Text und formatiere ihn mit der </> Schaltfläche

@Gute_Laune

Allerbesten Dank. Jetzt funktioniert alles.

1 Like