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