Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4943

Troubleshooting • Re: GPIO Registers Failed on Raspberry Pi 5

$
0
0

at this point, it's super unclear which of the three options are to be used in place of the old rpi.gpio.
LGPIO? gpiozero? or GPIOD?
GPIOD seems broken
Assuming we are speaking of Python code...

My summary, which you will find is worth every penny, cent or dinar you pay for it, is that for new code use gpiozero. The documented recommendation. https://www.raspberrypi.com/documentati ... -in-python

And for existing Python scripts written to use the features of the RPi.GPIO library - use the solution recommended in the post preceding yours which will transparently bring RPi.GPIO back to life.

Statistics: Posted by B.Goode — Thu Jan 25, 2024 4:59 pm



Viewing all articles
Browse latest Browse all 4943

Trending Articles