Hello
I have been using the replacement Rpi.GPIO library lgpio on a pi zero 2w, but eventually I will be switching to a Pi 5. I belive lgpio is installed by default on Bookwormm. I am trying to also use an ads1015 AD module, however installing the adafruit-circuitpython library breaks lgpio. As soon as I install the circuitpython library my python program gives meI'm not sure how to resolve this. I have spent hours searching for a solution but I think circuitpython is installing the old gpio, it is a bit beyond me. Can anyone help?
I have been using the replacement Rpi.GPIO library lgpio on a pi zero 2w, but eventually I will be switching to a Pi 5. I belive lgpio is installed by default on Bookwormm. I am trying to also use an ads1015 AD module, however installing the adafruit-circuitpython library breaks lgpio. As soon as I install the circuitpython library my python program gives me
Code:
GPIO.add_event_detect(self.gpio, GPIO.BOTH)RuntimeError: Failed to add edge detection
Statistics: Posted by jimseng — Mon Nov 11, 2024 7:22 pm