Hi Guys.
I use TMRpcm library to record audio files onto an SD Card and that works very well. I already reconfigured the config.h file to realize that.
But I want to set the filename dynamicly and there is a strange behaviour happening
this is the working code:
audio.startRecording("123456.wav", 16000, A0);
and for me "123456.wav" is a classic String, aint it?
and here's the modified code, which doesn't work
String AUDIO_FILENAME = "123456.wav";
audio.startRecording(AUDIO_FILENAME, 16000, A0);
Here I get this exception:
exit status 1
Compilation error: no matching function for call to 'TMRpcm::startRecording(String&, int, const uint8_t&)'
Hope someone can help
Best regards