Closed makermelissa closed 3 months ago
@makermelissa Can confirm this works on RockPiS running dietpi (which is Armbian based).
Just came across the extra instructions here after a bit of digging. Maybe good to add this to the docs? What would be a good place, the installation instructions ?
Fixes #795. Updates the Rockchip from using SysFs to libgpiod. Tested on Armbian.
To get this to work, the following needs to be done: Setup a venv and activate:
Then to give the user permissions without needing root access:
Add the following to the file:
Reboot, reactivate the venv, then run python.
import board
should now work.