Serial.println("initialization failed. Things to check:");
Serial.println("* is a card inserted?");
Serial.println("* is your wiring correct?");
Serial.println("* did you change the chipSelect pin to match your shie
ld or module?");
return;
} else {
Serial.println("Wiring is correct and a card is present.");
}
}
void loop()
{
int ret=WAV_DECODING;
wav.begin("test.wav");
wav.play();
while(ret == WAV_DECODING){
ret = wav.decode();
}
}
Tested Platform:
Windows: win7 32bit/64bit, win8 32bit/64bit, win10 32bit
Linux: Ubuntu 12.04 32bit
Mac book: OSX 10.11
FAQ
Q1. No permission under Linux system
A. Input ’‘’sudo usermod -a -G USER NAME dialout‘’‘ to add user into dialout group. Log out
and log back in
Q2. Where is the missing driving file?
A. In the category driver of sdk.
https://www.dfrobot.com/wiki/index.php/Bluno_M0_Mainboard_SKU:_DFR041612‐8‐17