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, value)`
- get the pin mode with `mode(pin)`
- set the pin mode with `setup(pin, mode)`
- `mode` can currently equal `gpio.IN` or `gpio.OUT`
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, value)`
- get the pin mode with `mode(pin)`
- set the pin mode with `setup(pin, mode)`
- `mode` can currently equal `gpio.IN` or `gpio.OUT`
Project details
Release history Release notifications | RSS feed
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.3.0.tar.gz
(2.9 kB
view details)
File details
Details for the file gpio-0.3.0.tar.gz.
File metadata
- Download URL: gpio-0.3.0.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/2.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0b8db65f554ad7e6733910ead6560f9800d179a73a3e4e3413e619fc334f8c7b
|
|
| MD5 |
e9f30a756fa92961383e2ee01395db5d
|
|
| BLAKE2b-256 |
bf3c475c228923c465245bf267a6654b82128823b4b3f2f12801e06bfdc201a0
|