SO1602A Lib. SO1602A is Organic LED, has 16 chars and 2 lines. This lib supports printf() of C-Language. http://akizukidenshi.com/catalog/g/gP-08276/

Dependents:   NEW_LineTraceHub NEW_LineTraceHub_2 ColorSensorTest

Revision:
4:e17943b827d8
Parent:
3:eaaedd09fa6b
--- a/SO1602A.h	Mon Oct 19 05:44:49 2015 +0000
+++ b/SO1602A.h	Fri Nov 06 06:23:52 2015 +0000
@@ -36,7 +36,7 @@
 public:
     SO1602A (PinName sda, PinName scl, char address= 0x78);
     SO1602A (I2C &_i2c, char address= 0x78);
-    
+    ~SO1602A();
 //  ******************** printf() future of C-language. ***************************
 
     /** Initialize
@@ -63,7 +63,8 @@
     void setDispFlag(bool disp= true, bool cursor= true, bool blink= true);
 
 private:    
-    I2C i2c;
+    I2C *p_i2c;
+    I2C &i2c;
     char addr;
     char buf[3];
     int col, row;