There are multiple "RPi.GPIO"; the one provided pre-installed with Bookworm which doesn't work with Pi 5 and has some problems with edge detection on earlier Pi, and Dave Jones' replacement which can be installed with -Ah I thought it was using RPi.GPIO ".. even though RPi.GPIO is incompatible with Pi 5.."
Code:
sudo apt remove python3-rpi.gpiosudo apt install python3-rpi-lgpio
Statistics: Posted by hippy — Sun Oct 13, 2024 6:21 pm