Home › Forums › Sparkfun MP3 Shield Library Support Forum › MP3 trigger not working. › Reply To: MP3 trigger not working.
I am bit unclear as to which files you are exactly referring to. I assume you mean https://github.com/sparkfun/MP3_Player_Shield/blob/master/firmware/MP3_GPIO_Trigger/MP3_GPIO_Trigger.ino fails. I can not guess “example file player that came with the shield” you are referring to.
I have seen some internal pull ups not work on some ATmega328p’s. MP3_GPIO_Trigger.ino has a print to indicate if which trigger occurred. As to confirm if the problem is the input. Or something else.
You may want to try https://github.com/mpflaga/Sparkfun-MP3-Player-Shield-Arduino-Library/blob/master/SFEMP3Shield/Examples/MP3ButtonPlayer2/MP3ButtonPlayer2.ino