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).
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.