This is the command line and python functions to control the Eight MOSFETS V3 8-Layer Stackable Card for Raspberry Pi. For the older hardware version card use this repository
First enable I2C communication:
~$ sudo raspi-config
~$ git clone https://github.com/SequentMicrosystems/8mosind-rpi.git
~$ cd 8mosind-rpi/
~/8mosind-rpi$ sudo make install
Now you can access all the functions of the mosfets board through the command "8mosind". Use -h option for help:
~$ 8mosind -h
If you clone the repository any update can be made with the following commands:
~$ cd 8mosind-rpi/
~/8mosind-rpi$ git pull
~/8mosind-rpi$ sudo make install