Issue with LilyPad MP3 Player with the "Player" Sketch... attaching to Rotary Button interrupt

I was hoping I could get some help with a problem I can’t seem to get past with the LilyPad MP3 Player with the “Player” Sketch.

https://learn.sparkfun.com/tutorials/ge … yer-sketch

It seems to be having an issue on the line where it attaches to the rotary button interrupt:

PCintPort::attachInterrupt(ROT_SW, &buttonIRQ, CHANGE);

When it gets to this line, the program restarts in an endless loop. If I comment out the line, everything seems to work (except for the function of pressing the button).

I tried using a different library for the interrupt [PinChangeInterrupt.h], but still had problems attaching an interrupt to the button (a freeze instead of a reboot).

Any help would be appreciated.

Thanks,

-John

(Lots of programming experience, Arduino noob)

Is there a bug in the library? Or any minor error in the hardware can cause this issue? I hope team TSB will be kind enough to provide an answer.

Yes, I’m hoping they provide an answer as well. The example code they provided is not working. The button and board are theirs as well, so other than the soldering, this is out-of-the-box.

My first thought was that there is an incompatibility with the library, which is why I tested another one.

I am using a LiPo, so power is not a concern.

The project is for a blind senior who finds touchscreens too hard to use. I’ve got a filesystem prepared with Text-To-Speech MP3s describing the current file or folder. They will be automatically played as the user rotates the wheel. If the user clicks on a file, it plays. If anyone has any recommendation for something else as a replacement, I am all ears.

Thanks for your reply.

I checked for solder bridges. There are none. Here are pictures of the soldering:

LilyPadSolder1.jpg

LilyPadSolder2.jpg

It doesn’t look like the solder has properly flowed to the pad on three of the pins. Try reheating them.

/mike