-
I am spent all day trying unsuccessfully to get audiotools working on an esp32s2 mini.
I have it wired as follows: SD_CS_PIN = 34 and the audio amp as defined. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 15 replies
-
It seems that you forgot to install a new libhelix version: hence the error message about the missing function! Use something like the follows: // configure SDFAT with CS pin
SdSpiConfig sdcfg(PIN_AUDIO_KIT_SD_CARD_CS, DEDICATED_SPI, SD_SCK_MHZ(10) , &SPI);
AudioSourceSDFAT source(startFilePath, ext, sdcfg);
// Define SPI pins
SPI.begin(PIN_SD_CARD_CLK, PIN_SD_CARD_MISO, PIN_SD_CARD_MOSI, PIN_SD_CARD_CS); ps. the comment about the volume range is wrong: it should be 0.0 - 1.0! |
Beta Was this translation helpful? Give feedback.
-
Of course, I should have updated libhelix too. But now it gives the error "error: invalid use of template-name 'audio_tools::AudioSourceSDFAT' without an argument list |
Beta Was this translation helpful? Give feedback.
Ok... So it suddenly started working. I have no idea why.