Please see all COVID-19 updates here as some shipments may be delayed due to CDC safety and staffing guidelines. If you have an order or shipping question please refer to our Customer Support page. For technical questions please check out our Forums. Thank you for your continued support.


Member Since: June 22, 2011

Country: United States

  • Hi! I've got this code up and running (partially) on an Arduino Mega. After changing the necessary pin declarations in some of the header files I'm able to get songs playing but not consistently. I modified the code slightly so that it plays a .wav file on a button press. It plays the song on anywhere from 10/10 to 2/10 of the button presses. Any thoughts as to why this inconsistency might be happening?

    On the occasions when it doesn't play anything the bytes_read variable reads -1 indicating that the file has reached it's end even though it has just been opened.

    Any insight would be greatly appreciated. Thanks!!