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