Arduino Forum

Using Arduino => Audio => Topic started by: SilverGreen93 on Dec 29, 2016, 12:01 pm

Title: TMRpcm recording
Post by: SilverGreen93 on Dec 29, 2016, 12:01 pm
TMRpcm recording example does not compile.
I have the latest version of SdFat, TMRpcm and Arduino IDE

...TMRpcm.cpp:1608:5: error: 'SdVolume' was not declared in this scope

     SdVolume vol;

     ^

...TMRpcm.cpp:1619:6: error: 'vol' was not declared in this scope

  if(!vol.init(&card1)){}//Serial.println("card failed"); }

I know that SdVolume is deprecated and I replaced #include <SD.h> with "SdFat.h" and SdFat SD; but this doesn't solve the problem.
I also enabled SDFAT and RECORDING in the pcmConfig.h

How can I use recording?
Title: Re: TMRpcm recording
Post by: freelex on Aug 05, 2019, 03:14 pm
Hi,

I do have the exact same problem. Did you solve it ?