Skip to main content
This package provides class to control the GPIO on Olinuxino A20.
Current release does no support any peripheral functions.

Example
=======

Typical usage::

#!/usr/bin/env python

import A20_GPIO as GPIO

The 'x' in the example below represents the number of the extension connector, and 'y' is the pin number on the connector.

#init module
GPIO.init()

#configure module
GPIO.setcfg(PINx_y, GPIO.OUTPUT)
GPIO.setcfg(PINx_y, GPIO.INPUT)

#read the current GPIO configuration
config = GPIO.getcfg(PINx_y)

#set GPIO high
GPIO.output(PINx_y, GPIO.HIGH)

#set GPIO low
GPIO.output(PINx_y, GPIO.LOW)

#read input
state = GPIO.input(PINx_y)

#cleanup
GPIO.cleanup()


Warning
=======

Before using this tool it is HIGHLY RECOMENDED to check Olinuxino
A20 schematic.

Changelog
===================================
* pyA20 0.1.0 (2013-08-21)
* Initial release
* pyA20 0.1.3 (2013-08-23)
* Fixed wrong distribution uploaded
* pyA20 0.1.5 (2013-09-13)
* changed pin GPIOs reference to PINx_y

Metadata

Release files for pyA20 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyA20 0.1.5
File Size Uploaded Provenance Actions
pyA20-0.1.5.tar.gz 6.7 kB Without provenance Details for pyA20-0.1.5.tar.gz

Release files / pyA20-0.1.5.tar.gz

Download URL pyA20-0.1.5.tar.gz
Size 6.7 kB
Tags Source
SHA-256 checksum
How to use checksums
02f05f9be8d4950a2898a2c5f5bc9e427d4a8cac85a19eff37cecb674580e7aa
BLAKE2b-256 checksum
How to use checksums
552c8da847bc583f4f23234025c022e5a1a191631a1c3843f46cd6bde60bb0a2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for pyA20 0.1.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page