GPIO access module
Project description
gpio3 is a comfy yet reasonably efficient GPIO interface for python.
Example usage for the impatient:
>>> import gpio3 >>> >>> g = gpio3.LinuxGPIO(203) >>> # or gpio3.LinuxGPIO(gpio3.mainline_sunxi_pin("PG11")) >>> g.direction 'in' >>> g.value 0 >>> g.direction = 'out' >>> g.direction 'out' >>> g.value 0 >>> g.value = 1 >>> g.value 1
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gpio3-3.0.0.tar.gz
(2.0 kB
view hashes)