06-06-2021, 09:27 AM
Massive apologies if I've poked this thread in the wrong place, or it's been answered a thousand times already, I searched in the forum for suitable things, but couldn't find anything.
So, probably a quick question, I want to play with the status LED through Python3. Is there a pre-existing GPIO library that works against the Pinephones GPIO implementation?
I know it's at least theoretically possible as on xnux's site there's a LED page (PinePhone LEDs (xnux.eu)) and having a play around and looking at the uboot-script.cmd for Postmarket, that's fiddling with GPIO on boot (just not in Python-land).
I do see there are a few posts around the Rockchip on the Pine64 boards for pythonic GPIO control, but I wasn't sure if the Pinephone and the Pine64's had vastly different GPIO implementations.
So, probably a quick question, I want to play with the status LED through Python3. Is there a pre-existing GPIO library that works against the Pinephones GPIO implementation?
I know it's at least theoretically possible as on xnux's site there's a LED page (PinePhone LEDs (xnux.eu)) and having a play around and looking at the uboot-script.cmd for Postmarket, that's fiddling with GPIO on boot (just not in Python-land).
I do see there are a few posts around the Rockchip on the Pine64 boards for pythonic GPIO control, but I wasn't sure if the Pinephone and the Pine64's had vastly different GPIO implementations.