A C library for controlling the PCA9555/TCA9555 I2C IO expander with the Raspberry Pi Pico.
This library uses nix.
To develop, run the nix shell using nix develop. This library can also be build using nix build.
Directory: ./build
Build a static archive library (.a).
cmake -DCMAKE_BUILD_TYPE=Release ..
make -j4Directory: ./build
Build the library with debug information.
cmake -DCMAKE_BUILD_TYPE=Debug ..
make -j4
cp compile_commands.json ../ # Copies the autocomplete information for ccls.Cleans the build directory for a fresh build.
rm -rf ./build
mkdir build