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

Python • Re: Does RPi.GPIO work in Bookworm??

$
0
0
Yes you should try using rpi.gpio first. The lgpio library it uses is an excellent product and really well documented. However, I had problems with rpi.lgpio using smbus2 and Pimoroni's IOexpander software. If you meet the same problem I have written a simple software shim called GPIOconverter which can be installed in the same directory as your RPi.GPIO code. This converts RPI.GPIO calls and events between RPi.GPIO and lgpio. GPIOconverter can be found at https://bobrathbone.com/raspberrypi/gpio_converter.html.

Statistics: Posted by bobrathbone — Fri Oct 04, 2024 6:55 am



Viewing all articles
Browse latest Browse all 3923

Trending Articles