i running this program and it work, when it program running it that any library could be used to stop this program?
#include <Fat16.h> #include <Fat16Util.h> #include <NewSPI.h> #include <arduino.h> #include “pins_config.h” #include “vs10xx.h” #include “newSDLib.h” #include “MusicPlayer.h”
MusicPlayer myplayer;
void setup()
{
Serial.begin(9600);
myplayer.begin();//will initialize the hardware and set default mode to be normal.
}
void loop()
{
myplayer.setPlayMode(MODE_REPEAT_ONE);//set mode to repeat to play a song
myplayer.playSong(“test.wav”);//play a song named with test.wav
while(1);//If the mode is normal, it will stop when it finished playing all the songs in the playlist
}