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

Python • Re: How do I learn how to use lgpio?

$
0
0
The version of gpiod in the OS is at least 4 years old.

If you want to use it install the version on PyPi (2.3.0 I think) using pip into a virtual environment.

It is still not easy to use but does work.

---
If you want to use lgpio forget the shim which allegedly tries to make this look like RPI.GPIO.

lgpio is better documented than most libraries - see the author's website https://abyz.me.uk/lg/index.html.

Try the examples https://abyz.me.uk/lg/examples.html

Statistics: Posted by Milliways — Thu May 22, 2025 4:19 am



Viewing all articles
Browse latest Browse all 8042

Trending Articles