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

#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.3 (2013-08-23)
    • Fixed wrong distribution uploaded

Metadata

Release files for pyA20 0.1.3

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.3
File Size Uploaded
pyA20-0.1.3.tar.gz 5.8 kB Details

Release files / pyA20-0.1.3.tar.gz

Download URL pyA20-0.1.3.tar.gz
Size 5.8 kB
Tags Source
SHA-256 checksum
How to use checksums
bc06ac950a46bbc530f55a447b08923c43b52ea73a7d0fd9e1baccf26d314e53
BLAKE2b-256 checksum
How to use checksums
edee95dae8b01bdf548b3d589239a5ad2de21e876daa1fe8ad212aaa365fa092
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

0.2.12

1 release file

0.2.11

1 release file

0.2.10

1 release file

0.2.8

1 release file

0.2.7

1 release file

0.2.6

1 release file

0.2.1

1 release file

0.2.0

1 release file

0.1.6

1 release file

0.1.5

1 release file

0.1.4

1 release file

This release

0.1.3 This release

1 release file

0.1.2

1 release file

0.1.0

1 release file

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