ESP32 Korvo 1.1 SD card doesn't work #54
Replies: 6 comments 3 replies
-
I suggest you remove all your drive related custom logic from your sketch and let the driver do the job. Use e.g. this example. With this sketch you can also check if your buttons are working... |
Beta Was this translation helpful? Give feedback.
-
I did and SD card worked after I modified the default pins. I need to implement that in the Driver section of course.
I am having trouble with the keys though. I am getting messages about pin ignored because it is already defined. I assume that the logic of this code does not work:
Because the GPIO for getKey() is always the same. Therefore, all my keys will just mute/unmute. Any suggestions? I don't see how this would work with the Lyrat Mini. |
Beta Was this translation helpful? Give feedback.
-
Check the isKeyPressed() metho in PinsLyratMiniClass. It uses analogRead() to determine the voltage and assigns the keys to voltage ranges |
Beta Was this translation helpful? Give feedback.
-
The AudioBoardAction which is defined in AudioBoardStream is calling p_board->isKeyPressed(key); |
Beta Was this translation helpful? Give feedback.
-
Mybe you can double check with the LyraT-Mini buttons example |
Beta Was this translation helpful? Give feedback.
-
I will not continue the key issue. As far as I am concerned, this is solved and working. |
Beta Was this translation helpful? Give feedback.
-
I am experiencing a new problem: I am always getting the error [E] AudioSourceSD.h : 60 - SD.begin cs=23 failed.
The pins I am using are tested with my SD card test program, they are 100% correct.
This is my code:
In Driverpins.h I added:
I am getting this in log, confirming the pins I set:
Where else could I look? Thank you in advance.
Beta Was this translation helpful? Give feedback.
All reactions