Hi,
compiling my sketch gets a warning:
DACTest16khz:82: warning: ISO C++ forbids converting a string constant to 'char*'
fstat=SdPlay.setFile("ANSAGEK5.AHM");
The string constant "ANSAGEK5.AHM" is the problem.
Is it really necessary to write it so cumbersome to avoid the warning:
char txtstr[64];
strcpy(txtstr,"ANSAGEK5.AHM");
fstat=SdPlay.setFile(txtstr);
or is there a more simple way to code it?
supArdu