Python3 - GPIO - controlling LED's etc
#1
Lightbulb 
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.
  Reply
#2
' ...as on xnux's site... ', I meant Megi's site..
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Python3 cli app to bridge SMS/MMS to matrix/riot.im FutureBucket 12 15,737 01-09-2022, 03:18 PM
Last Post: rmblror
  Python3 Bridge SMS/MMS to Matrix using Modem Manager and MMSD FutureBucket 3 4,625 02-10-2021, 08:09 PM
Last Post: kop316
  GPIO Kernel Module Foxchild 5 7,922 03-14-2020, 10:43 PM
Last Post: Der Geist der Maschine

Forum Jump:


Users browsing this thread: 1 Guest(s)