Skip to main content

gpio access via the standard linux sysfs interface

Project description

# Linux [sysfs](https://www.kernel.org/doc/Documentation/gpio/sysfs.txt) gpio access

This library provides gpio access via the standard linux [sysfs interface](https://www.kernel.org/doc/Documentation/gpio/sysfs.txt)

It is intended to mimick [RPIO](http://pythonhosted.org/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.

Source Distribution

gpio-0.1.2.tar.gz (2.9 kB view details)

Uploaded Source

File details

Details for the file gpio-0.1.2.tar.gz.

File metadata

  • Download URL: gpio-0.1.2.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for gpio-0.1.2.tar.gz
Algorithm Hash digest
SHA256 cabb74046e37dddfa781314294c2475dfdf20a0eaf4949492c081ed8aab5160a
MD5 78ec62e8f2611204d329b930ff5b8ec0
BLAKE2b-256 1d8bdd0e69fecce04d6356eb0a7a12fdf8f6047d626f2ba387dd95bbc68c9a57

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page