Home Forums Sparkfun MP3 Shield Library Support Forum problem arduino mega2560+sparkfun+ir remote Reply To: problem arduino mega2560+sparkfun+ir remote

#1797
Anonymous
Inactive

I acquire the value from the remote control and I see that ‘correct.
then run

else if(results.value==play_pause){
if(MP3player.isPlaying()){
MP3player.pauseDataStream();
}
else{
MP3player.resumeDataStream();
}

}

 

all other commands are correct.
I do not think it’s normal stop the song rather then change it ’cause if I send the serial command to change song I just need
MP3player.playTrack (1);
without first stopping the song.