Basic library of routines to interface to a Microchip MCP23017 16-bit I/O expander using an I2C interface.

Dependents:   Assignment_2_herpe Final_V1 ass2 ass2 ... more

Revision:
1:d54d7002bae2
Parent:
0:a6a5d942b58f
Child:
3:f00ee94327c6
--- a/MCP23017.h	Sun Nov 28 20:41:49 2010 +0000
+++ b/MCP23017.h	Sun Nov 28 20:47:17 2010 +0000
@@ -15,11 +15,13 @@
     along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
 
-#include    "mbed.h"
-
 #ifndef     MBED_MCP23017_H
 #define     MBED_MCP23017_H
 
+#include    "mbed.h"
+
+/** MCP23017 class
+ */
 //
 // Register defines from data sheet - we set IOCON.BANK to 0
 // as it is easier to manage the registers sequentially.