Go Down

Topic: Rugged Audio Shield w/ Mega 2560 not working (Read 427 times) previous topic - next topic

ECscott

I have a Rugged Audio Shield mounted onto a Mega 2560 with the 2x3 pin socket connected to the mega ICSP pins.  I have loaded a micro SD card with .WAV files.  Loaded the test Sketch as follows:

#include <SPI.h>
#include <RAS.h> // Rugged Audio Shield library

RAS RAS;

void setup(void) {
   RAS.begin();
   RAS.InitSD();
   delay(100);
}

void loop(void) {
  delay(1000);

  RAS.PlayWAV("LEVELH.WAV");
}



The .wav file is named exactly as above.   I can not get any audio to play out the headphone jack.  The Audio file is: Sample rate of 44.1K, 16 bit, 2 channel.  file size is 602 kb.


Any ideas why this is not working?

ECscott

I was reading another post about some audio issues, and this question came to mind.  Does the SDcard need to be formatted with a certain file system if so what would it be?  Currently it is FAT32.

Go Up