Assuming we are speaking of Python code...
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
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