https://github.com/waveform80/rpi-lgpio
A compatibility shim for lgpio emulating the RPi.GPIO API
https://github.com/waveform80/rpi-lgpio
Last synced: 3 months ago
JSON representation
A compatibility shim for lgpio emulating the RPi.GPIO API
- Host: GitHub
- URL: https://github.com/waveform80/rpi-lgpio
- Owner: waveform80
- License: other
- Created: 2022-10-14T00:35:12.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-11T16:10:05.000Z (about 2 years ago)
- Last Synced: 2025-02-26T09:53:45.884Z (over 1 year ago)
- Language: Python
- Homepage: https://rpi-lgpio.readthedocs.io/
- Size: 108 KB
- Stars: 18
- Watchers: 3
- Forks: 8
- Open Issues: 18
-
Metadata Files:
- Readme: README.rst
- License: LICENSE.txt
Awesome Lists containing this project
README
======
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.
Useful Links
============
* `Source code `_
* `Bug reports `_
* `Documentation `_
* `Ubuntu packaging `_
.. * `Debian packaging `_
.. _rpi-gpio: https://pypi.org/project/RPi.GPIO/
.. _gpiochip device: https://embeddedbits.org/new-linux-kernel-gpio-user-space-interface/
.. _deprecated sysfs GPIO interface: https://waldorf.waveform.org.uk/2021/the-pins-they-are-a-changin.html