Home Forums Sparkfun MP3 Shield Library Support Forum Error Code 5 & 6 Reply To: Error Code 5 & 6

#2962
Anonymous
Inactive

Is there a reason that the first instruction line in the main sketch is shows the SPI in a orange color?  #include <SPI.h>

Oddly enough deleting the the .bat & .pl lines made errors 5 & 6 stop…. 

Here is my output upon opening up my serial monitor now…

Free RAM = 2292 Should be a base line of 1040, on ATmega328 when using INTx
Arduino SFEMP3Shield Library Example:
courtesy of Bill Porter & Michael P. Flaga
COMMANDS:
[1-9] to play a track
[f] play track001.mp3 by filename example
[F] same as [f] but with initial skip of 2 second
[s] to stop playing
[d] display directory of SdCard
[+ or -] to change volume
[> or <] to increment or decrement play speed by 1 factor
[i] retrieve current audio information (partial list)
[e] increment Spatial EarSpeaker, default is 0, wraps after 4
[p] to pause.
[r] resumes play from 2s from begin of file
[R] Resets and initializes VS10xx chip.
[t] to toggle sine wave test
[m] perform memory test. reset is needed after to recover.
[M] Toggle between Mono and Stereo Output.
[g] Skip to a predetermined offset of ms in current track.
[k] Skip a predetermined number of ms in current track.
[O} turns OFF the VS10xx into low power reset.
[o} turns ON the VS10xx out of low power reset.
[D] to toggle SM_DIFF between inphase and differential output
[S] Show State of Device.
[V] Enable VU meter Test.
[h] this help

The problem is that the Arduino is still freezing up! The SD Card is a SanDisk 2GB, and it does not even have a class number on it, so I am going to assume that it is a class 1 or class 2.

I started to mess around with the SFEMP3ShieldConfig.h file:
Set line 074 to:   #define SEEEDUINO 1               (Checked that it was changed from 0 to 1 to for the seed board, which it was)
Set line 088 to:   //#define GRAVITECH 0         (Commented the line since we are not using Gravitech)

Also, as a note:
TimerOne.h, and TimerOne.cpp are located in C:\Program Files (x86)\Arduino\libraries\TimerOne
SimpleTimer.h, and SimpleTimer.cpp are located in C:\Program Files (x86)\Arduino\libraries\SimpleTimer