Onion Gpio Sysfs 0.1.6 | Coderz Repository

onion-gpio-sysfs 0.1.6

Last updated:

0 purchases

onion-gpio-sysfs 0.1.6 Image
onion-gpio-sysfs 0.1.6 Images

Free

Languages

Categories

Add to Cart

Description:

oniongpiosysfs 0.1.6

gpio-sysfs
Libraries to control GPIOs using the sysfs interface
Compatibility
Now comptatible with all versions of Python !
Install
pip install onion-gpio-sysfs
Usage
import onionGpio

# instantiate a GPIO object
gpio0 = onionGpio.OnionGpio(0)
# set to output direction with zero (LOW) being the default value
gpio0.setOutputDirection(0)
# get the vaule
gpio0.getValue()

For further examples look at python/examples/ folder.
Author
Written by https://github.com/greenbreakfast
Python3 code adaptation by https://github.com/jdupl
PyPi package by https://github.com/grizmin

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product: (if this is empty don't purchase this product)

Customer Reviews

There are no reviews.