Skip to main content

Control GPIOs on OLinuXino-Maxi.

Project description

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

Example
=======

Typical usage::

#!/usr/bin/env python

import IMX233_GPIO as GPIO

#init module
GPIO.init()

#configure module
GPIO.setcfg(GPIO.PIN#, GPIO.OUT)
GPIO.setcfg(GPIO.PIN#, GPIO.IN)

#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
=======

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyIMX233-0.0.1.tar.gz (5.9 kB view details)

Uploaded Source

File details

Details for the file pyIMX233-0.0.1.tar.gz.

File metadata

  • Download URL: pyIMX233-0.0.1.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyIMX233-0.0.1.tar.gz
Algorithm Hash digest
SHA256 cd78286bf7dbdfa99707d93e23faf393c54924cf5675a840d953db636cfacd4f
MD5 2447fee8fa99c55375e19c5ef5a2ab67
BLAKE2b-256 dfca8e6ae71fbc021036e5e6d9a502f3b43cb896c9f90f43d728099ab62466e1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page