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
'in'
>>> g.value
0
>>> g.direction = 'out'
>>> g.direction
'out'
>>> g.value
0
>>> g.value = 1
>>> g.value
1

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

Uploaded Source

File details

Details for the file gpio3-3.0.1.tar.gz.

File metadata

  • Download URL: gpio3-3.0.1.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for gpio3-3.0.1.tar.gz
Algorithm Hash digest
SHA256 ecbeced6b855cde1442a620e29e42b8b67a44c7b390b55779edc619afd99af7a
MD5 f9e0447de0876f37fb3a2e8bf521192e
BLAKE2b-256 f3c88c865ccefa23b4ab2c57c338e3dafb66c2ae8e572bbc12720c91b716e528

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