Home Forums Sparkfun MP3 Shield Library Support Forum cuckoo clock: sparkfun MP3 Player with motors and Servo Motor Reply To: cuckoo clock: sparkfun MP3 Player with motors and Servo Motor

#2813

Such delays are blocking, until finished preventing the refills of the MP3 from SdCard. It takes time to read the SdCard and it takes time and to service the motors..

you could try adding the following command of sei(); just after line 1696 http://mpflaga.github.io/Sparkfun-MP3-Player-Shield-Arduino-Library/_s_f_e_m_p3_shield_8cpp_source.html#l01696


1696 void SFEMP3Shield::refill() {
1697 sei();
1698 //Serial.println(F(“filling”));
1699
1700 while(digitalRead(MP3_DREQ)){