audio.h and SD Card

Phm78

Member
Hello all,
I wrote some rotines to erase, create a directory, list files, write and read int16_t[256] arrays on an SD card using the SdFat.h library but when I load the audio.h library at the same time, I have compilation errors. Is there a way to bypass the incompatibility of these two libraries?
Thanks in advance for your help.
 
Probably … dump your copy of SdFat out of your libraries and just use SD, which is pulled in anyway when you #include <Audio.h>. For many moons now the Teensyduino SD library has been a thin wrapper around a slightly customised version of SdFat.
 
Back
Top