You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A pip update of Adafruit_blinka from a version earlier than 0.8.28(?) to any later version does not work. This is due to the fact that the rpi-gpio replacement for RPi.GPIO is only installed from the ./adafruit/Raspberry-Pi-Installer-Scripts/master/raspi-blinka.py installer. It took quite a while to track this down.
Description
I'd like to propose an alternate solution. Since the /dev/gpiochip* files and lgpio python package are now part of the Debian kernel 1:6.1.63-rpi7-rpi-v8, simply implement the ./microcontroller/bcm283x/pin.py and ./microcontroller/bcm283x/pwmio/PWMOut.py using lgpio directly, and remove the RPi.GPIO code (3 lines) from the ./microcontroller/bcm2711/pin.py package. An updated version is available in pull request 911 and has been tested successfully on a PI5 on this kernel and a PI3B as well, using the pin package directly and also using digitalio.DigitalInOut with no changes to the digitalio package. Also successfully tested the blinka pwmio.PWMOut package. on both platforms.
Additional information
Code changes in pull request 911
The text was updated successfully, but these errors were encountered:
Board Name
Raspberry PI 5
Steps
A pip update of Adafruit_blinka from a version earlier than 0.8.28(?) to any later version does not work. This is due to the fact that the rpi-gpio replacement for RPi.GPIO is only installed from the ./adafruit/Raspberry-Pi-Installer-Scripts/master/raspi-blinka.py installer. It took quite a while to track this down.
Description
I'd like to propose an alternate solution. Since the /dev/gpiochip* files and lgpio python package are now part of the Debian kernel 1:6.1.63-rpi7-rpi-v8, simply implement the ./microcontroller/bcm283x/pin.py and ./microcontroller/bcm283x/pwmio/PWMOut.py using lgpio directly, and remove the RPi.GPIO code (3 lines) from the ./microcontroller/bcm2711/pin.py package. An updated version is available in pull request 911 and has been tested successfully on a PI5 on this kernel and a PI3B as well, using the pin package directly and also using digitalio.DigitalInOut with no changes to the digitalio package. Also successfully tested the blinka pwmio.PWMOut package. on both platforms.
Additional information
Code changes in pull request 911
The text was updated successfully, but these errors were encountered: