libmcp23s17
0.3.0
A simple static C library for the MCP23S17 port expander.
|
Download:
$ git clone https://github.com/piface/libmcp23s17.git
Build the library:
$ cd libmcp23s17/ $ make
This creates the library libmcp23s17.a
. Build the example (using PiFace Digital):
$ make example
Include the library in your project with:
$ gcc -o example example.c -Isrc/ -L. -lmcp23s17
-I
directories to search for header files. -L
directories to search for libraries. -l
libraries to link.
Feel free to contribute!