Skip to main content

GPIO access module

Project description

gpio3 is a comfy yet reasonably efficient GPIO interface for python.

Example usage for the impatient:

>>> import gpio3
>>> g = gpio3.LinuxGPIO(203)
>>> # or gpio3.LinuxGPIO(gpio3.mainline_sunxi_pin("PG11"))
>>> g.direction
>>> g.value
>>> g.direction = 'out'
>>> g.direction
>>> g.value
>>> g.value = 1
>>> g.value

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

gpio3-3.0.1.tar.gz (2.0 kB view hashes)

Uploaded source

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 Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page