Anyone know how to use the GPIO on the iDigi Wi-9P kit?
If you want to access them through the Dia you can make use of the Wi-9P GPIO driver that exposes them. An example configuration would be like (replacing the dots with spaces):
…- name: gpios0
…driver: devices.ccwi9p9215_gpio:ModuleGPIOs
…settings:
…input_gpios: [0,1,2,3,10,11,15]
…output_gpios: [16,17,18,20,22]
…update_rate: 0.1
For direct access, you can use the digihw module in python. It exposes methods for setting and retrieving the state of the pins, as well as setting the mode.
Chris