![]() |
Python3 - GPIO - controlling LED's etc - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120) +--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121) +--- Thread: Python3 - GPIO - controlling LED's etc (/showthread.php?tid=14126) |
Python3 - GPIO - controlling LED's etc - bonce - 06-06-2021 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. RE: Python3 - GPIO - controlling LED's etc - bonce - 06-06-2021 ' ...as on xnux's site... ', I meant Megi's site.. |