This is the command line to control the Sixteen RELAYS 8-Layer Stackable HAT for Raspberry Pi.
Don't forget to enable I2C communication:
sudo raspi-configcd
git clone https://github.com/SequentMicrosystems/16relind-rpi.git
cd 16relind-rpi/
sudo make installNow you can access all the functions of the relays board through the command "16relind". Use -h option for help:
16relind -hIf you clone the repository, any updates can be made with the following commands:
cd
cd 16relind-rpi/
git pull
sudo make install