Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Control GPIOs on Cubieboard A10.

Project Description
This package provides class to control the GPIO on Cubieboard A10.
Current release does no support any peripheral functions.
This package is an apapted version of pyA20 for Olimex's OLinuXino-A20.

Example
=======

Typical usage::

#!/usr/bin/env python

import A10_GPIO as GPIO

#init module
GPIO.init()

#configure module
GPIO.setcfg(GPIO.PD2, GPIO.OUTPUT)
GPIO.setcfg(GPIO.PD3, GPIO.INPUT)

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

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

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

#read input
state = GPIO.input(GPIO.PD3)

#cleanup
GPIO.cleanup()


Warning
=======

Before using this tool it is HIGHLY RECOMENDED to check Cubieboard
A10 schematic on http://linux-sunxi.org.

Changelog
===================================
* pyA10_CB 0.1.0 (2014-01-08)
- Initial release
Release History

Release History

This version
History Node

0.1.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pyA10_CB-0.1.0.tar.gz (6.4 kB) Copy SHA256 Checksum SHA256 Source Jan 8, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting