Skip to main content

gpio access via the standard linux sysfs interface

Project description

# 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.

## Supported Features
- get pin values with `read(pin)` or `input(pin)`
- set pin values with `set(pin, value)` or `output(pin)`
- get the pin mode with `mode(pin)`
- set the pin mode with `setup(pin, mode)`
- `mode` can currently equal `sysfs.IN` or `sysfs.OUT`

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for gpio, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size gpio-0.1.2.tar.gz (2.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page