It is known that RPi.GPIO
does not work on a RasPi 5. I have 3 physical buttons on the enclosure for previous track, pause/resume and next track. They have not been working on the 5. I finally updated the code to use gpiozero
here: minimy-mike99mac/framework/services/input/buttons.py at main · mike99mac/minimy-mike99mac · GitHub
What’s nice is that the code is much simpler, and it has “press” vs. “hold” built in. I’m hoping to have presses of the middle button toggle between pause and resume, not losing your place in the music. While holding the middle button will clear the queue (stop) That code is not working, but thought I’d share my progress with the community.
4 Likes