I've spent a couple of hours reading all sorts of postings on how to control the GPIOs without being root - but none of it makes sense (sorry for being dense).
http://elinux.org/RPi_Low-level_periphe ... .28GPIO.29
has the basic details - but still doesn't explain how to control them.
What I want to do is control a couple of GPIOs via Python without being root (sudo).
All I need is to read the current value, then set it low, then set it high, then release again to being an input.
Nothing fancy, no tight timing (I'd use a dedicated micro for accurate timing), I just want something simple that does not require root access.
I'm fine with changing permissions of the /sys/class/gpio/ or whatever but this still doesn't make sense - does a file being in these directories result in the OS changing the state of the GPIO? Where is this explained?
While I'm generally OK with using RPi.GPIO, it has way more functionality than I need and requires yet another download of a python package that I'd rather not bother with. Using this package would force everything connecting to my RPi to also have RPi.GPIO installed which is a pain for such a simple little thing.