This is the command line and Python library to control the Sequent Microsystems Sixteen LV Digital Inputs 8-Layer Stackable HAT for Raspberry Pi. This 8-layer stackable card contains 16 optically isolated digital inputs with reverse polarity protection.
To use this card, enable Raspberry Pi I2C communication
~$ sudo raspi-configcd
git clone https://github.com/SequentMicrosystems/16inpind-rpi.git
cd 16inpind-rpi/
sudo make installNow you can access all the functions of the 16-Inputs board through the command "16inpind". Use -h option for help:
16inpind -hIf you clone the repository, any updates can be made with the following commands:
cd
cd 16inpind-rpi/
git pull
sudo make install