Does the PCM library return any sort of useful error if it can't find the specified file? Perhaps there is something wrong with the formatting of the SD card.
not with the TMRpcm library, but when I tried to use the Simple SD Audio library (SimpleSDAudio – Hackerspace Ffm) it returns an error code 8 which means "card returned an error response for CMD17 (read single block)".
The options available under format type are quick, full(erase) and full(overwrite). (I've been using erase or overwrite)
The options under format size adjustment are on or off.
I'm not really sure what the format size adjustment is, or the difference between full(erase) and full(overwrite), other than overwrite takes a lot longer to finish.
Hi,
this error is an indication that something is wrong with your SD card, your level-shifters or your wiring to the card. Have you set up the correct SD-ChipSelect pin in your code? It is done differently (#define in TMRpcm, setSDCSPin() in SimpleSDAudio). Maybe the level-shifter you picked is too slow for the operation - try to do something different, often the simple resistor dividers shown on the SimpleSDAudio website work pretty well.