rpi-lgpio

A compatibility shim between RPi.GPIO and lgpio


Keywords
raspberrypi, gpio, lgpio, rpi-gpio
License
BSD-3-Clause
Install
pip install rpi-lgpio==0.6

Documentation

README

rpi-lgpio is a compatibility package intended to provide compatibility with the rpi-gpio (aka RPi.GPIO) library, on top of kernels that only support the gpiochip device (and which have removed the deprecated sysfs GPIO interface).

Warning

You cannot install rpi-lgpio and rpi-gpio (aka RPi.GPIO, the library it emulates) at the same time, in the same Python environment. Both packages attempt to install a module named RPi.GPIO and obviously this will not work.