Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: tof100 gaasgjdvas LED_GAME11 tof100
Fork of MCP23017 by
Revision 11:8726c7be6d72, committed 2010-11-29
- Comitter:
- jimherd
- Date:
- Mon Nov 29 11:46:57 2010 +0000
- Parent:
- 10:a3b9eabb0e50
- Child:
- 12:6d9d2b277f26
- Commit message:
Changed in this revision
| MCP23017.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/MCP23017.h Mon Nov 29 11:21:18 2010 +0000
+++ b/MCP23017.h Mon Nov 29 11:46:57 2010 +0000
@@ -21,9 +21,7 @@
#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.
@@ -45,6 +43,9 @@
#define DIR_OUTPUT 0
#define DIR_INPUT 1
+/** MCP23017 class
+ *
+ */
class MCP23017 {
public:
/** Constructor for the MCP23017 connected to specified I2C pins at a specific address

