This Automatic mode is the most simple lib for MCU Gear with LPC1114FN28. You don't need to think about Bank.

Dependents:   MCUGearALPC1114FN28

Fork of MCUGearA by mille feuille

Revision:
1:95255bae41c8
Parent:
0:12d93184b350
--- a/MCUGearA.cpp	Sun Mar 09 09:33:14 2014 +0000
+++ b/MCUGearA.cpp	Sat May 03 16:56:16 2014 +0000
@@ -27,7 +27,7 @@
 
 MCUGear::MCUGear(PinName scl, PinName sda, char addr)
      : _i2c(scl, sda) {
-    _i2c.frequency(FPGA_I2C_CLOCK);
+    //_i2c.frequency(FPGA_I2C_CLOCK);
     _addr = addr;   //save address
     write(0xff);    //close Module gate
     _counter = 0;