I2C

Revision:
43:eb52abed1a83
Parent:
41:111ca62e8a59
--- a/TextLCD.h	Fri Dec 07 05:27:20 2018 +0000
+++ b/TextLCD.h	Thu Jul 16 07:15:57 2020 +0000
@@ -50,6 +50,7 @@
 #include "mbed.h"
 #include "TextLCD_Config.h"
 #include "TextLCD_UDC.h"
+//#include "DevI2C.h" //my
 
 /** A TextLCD interface for driving 4-bit HD44780-based LCDs
  *
@@ -761,7 +762,7 @@
      * @param type            Sets the panel size/addressing mode (default = LCD16x2)
      * @param ctrl            LCD controller (default = HD44780)                
      */
-    TextLCD_I2C(I2C *i2c, char deviceAddress = PCF8574_SA0, LCDType type = LCD16x2, LCDCtrl ctrl = HD44780);
+    TextLCD_I2C(/*DevI2C*/I2C *i2c, char deviceAddress = PCF8574_SA0, LCDType type = LCD16x2, LCDCtrl ctrl = HD44780); //my
 
 private:
     
@@ -815,7 +816,7 @@
     void _writeRegister (int reg, int value);     
   
 //I2C bus
-    I2C *_i2c;
+    /*DevI2C*/I2C *_i2c;
     char _slaveAddress;
     
 // Internal bus shadow value for serial bus only