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 #init module GPIO.init() #configure module GPIO.setcfg(GPIO.PIN#, GPIO.OUTPUT) GPIO.setcfg(GPIO.PIN#, GPIO.INPUT) #read the current GPIO configuration config = GPIO.getcfg(GPIO.PIN#) #set GPIO high GPIO.output(GPIO.PIN#, GPIO.HIGH) #set GPIO low GPIO.output(GPIO.PIN#, GPIO.LOW) #read input state = GPIO.input(GPIO.PIN#) #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.2 (2013-08-23)
Fixed wrong distribution uploaded
Metadata
Release files for pyA20 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyA20-0.1.2.tar.gz | 6.7 kB | Details |
Release files / pyA20-0.1.2.tar.gz
| Download URL | pyA20-0.1.2.tar.gz |
|---|---|
| Size | 6.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2f8fcda878e25157145a36cf71c6d1f6d032316bfcbd3c2e9e067d6c05c0efda
|
|
BLAKE2b-256 checksum How to use checksums |
e021ca75df3e5f5ea699ad68454784f5eec621cfe806a3934173769f003da9f1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |