this is a simple python module for driving vocore2 gpio
Usage is very simple, package provide 2 methods
setup(gpioNumber, direction)
- setup gpio as output(1) or input(0)
data(gpioNumber, value[optional] )
- set or reads gpio data, if gpio is set as output value specify state(1-HIGH, 0-LOW), if gpio is set as input method returns gpio value
in file led_blink.py is script which should blink onboard led if everything is working fine
This package consist hwreg(/hwreg.so) module which is built version of module used to interface with VoCore hardware modules. Source of this module can be found here: https://github.com/krzysztofkrzeslak/vocore_hwreg