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

Dependents:   acd52832_beep_buzzer_ints

Fork of MCP23017 by jim herd

Files at this revision

API Documentation at this revision

Comitter:
jimherd
Date:
Sun Nov 28 21:10:15 2010 +0000
Parent:
1:d54d7002bae2
Child:
3:f00ee94327c6
Commit message:

Changed in this revision

MCP23017.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/MCP23017.cpp	Sun Nov 28 20:47:17 2010 +0000
+++ b/MCP23017.cpp	Sun Nov 28 21:10:15 2010 +0000
@@ -14,15 +14,15 @@
     You should have received a copy of the GNU General Public License
     along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
+#include "mbed.h"
 #include "MCP23017.h"
-#include "mbed.h"
 
 union {
     uint8_t  value8[2];
     uint16_t value16;
 } tmp_data;
 
-using namespace mbed;
+// using namespace mbed;
 /*
  *
  */