Skip to main content

This package provides class to control the GPIO on Olinuxino A10S. Current release does no support any peripheral functions.

Example

Typical usage:

#!/usr/bin/env python

import A10S_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 A10S schematic.

Changelog

  • pyA10S 0.1.0 (2013-05-03)
    • Initial release

Download files

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

Source Distribution

pyA10S-0.1.1.tar.gz (6.3 kB view details)

Uploaded Source

File details

Details for the file pyA10S-0.1.1.tar.gz.

File metadata

  • Download URL: pyA10S-0.1.1.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyA10S-0.1.1.tar.gz
Algorithm Hash digest
SHA256 9f78ac598da7e5b722c871926eb3ab7ddfcb01c7c3886c9bee7a1dac3657c062
MD5 2ce9de21d6188fb0b4288b6bde4f45a4
BLAKE2b-256 6f06ec033378e2ed81a2ee7cd6116f26e6eb4d17486bd65cd32c0fd14f23ddf1

See more details on using hashes here.

Release history Release notifications | RSS feed

0.1.2

1 file

This release

0.1.1 This release

1 file

0.1.0

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