Skip to main content

Libraries to control GPIOs using the sysfs interface

Project description


Libraries to control GPIOs using the sysfs interface


Now comptatible with all versions of Python !


pip install onion-gpio-sysfs


    import onionGpio

    # instantiate a GPIO object
    gpio0 = onionGpio.OnionGpio(0)
    # set to output direction with zero (LOW) being the default value
    # get the vaule

For further examples look at python/examples/ folder.


Written by

Python3 code adaptation by

PyPi package by

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 onion-gpio-sysfs, version 0.1.6
Filename, size File type Python version Upload date Hashes
Filename, size onion_gpio_sysfs-0.1.6-py3-none-any.whl (15.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size onion_gpio_sysfs-0.1.6.tar.gz (2.8 kB) File type Source Python version None Upload date Hashes View

Supported by

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