Skip to main content

Control GPIOs on iMX233-OLinuXino.

Project description

This package provides class to control the GPIO on iMX233-OLinuXino. 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.setinput(GPIO.PIN#)
GPIO.setoutput(GPIO.PIN#)

#set GPIO high
GPIO.output(GPIO.PIN#, 1)

#set GPIO low
GPIO.output(GPIO.PIN#, 0)

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

Changelog

  • pyiMX233 0.1.0 (2013-04-22)
    • Initial release

Project details


Download files

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

Source Distribution

iMX233_GPIO-0.1.0.tar.gz (3.7 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page