Linux sysfs gpio access
This library provides gpio access via the standard linux sysfs interface
It is intended to mimick RPIO as much as possible for all features, while also supporting additional (and better named) functionality to the same methods.
- get pin values with
read(pin)
orinput(pin)
- set pin values with
set(pin, value)
oroutput(pin, value)
- get the pin mode with
mode(pin)
- set the pin mode with
setup(pin, mode)
mode
can currently equalgpio.IN
orgpio.OUT