libmcp23s17  0.3.0
A simple static C library for the MCP23S17 port expander.
 All Files Functions
libmcp23s17 Documentation

mcp23s17.h

Links

Using the library

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.

Todo

Feel free to contribute!