sd

Fork of TextLCD by Wim Huiskamp

Revision:
42:c21b3e729cb3
Parent:
37:ce348c002929
--- a/TextLCD.cpp	Sun Mar 29 13:08:03 2015 +0000
+++ b/TextLCD.cpp	Fri Jan 08 20:46:03 2016 +0000
@@ -2754,11 +2754,11 @@
 
 
 //--------- Start TextLCD_I2C -----------
-#if(LCD_I2C == 1) /* I2C Expander PCF8574/MCP23008 */
-/** Create a TextLCD interface using an I2C PC8574 (or PCF8574A) or MCP23008 portexpander
+#if(LCD_I2C == 1) /* I2C Expander F8574/MCP23008 */
+/** Create a TextLCD interface using an I2C PC8574 (orA) or MCP23008 portexpander
   *
   * @param i2c             I2C Bus
-  * @param deviceAddress   I2C slave address (PCF8574, PCF8574A or MCP23008, default = 0x40)
+  * @param deviceAddress   I2C slave address (PCF8574,A or MCP23008, default = 0x40)
   * @param type            Sets the panel size/addressing mode (default = LCD16x2)
   * @param ctrl            LCD controller (default = HD44780)    
   */
@@ -2769,7 +2769,7 @@
   _slaveAddress = deviceAddress & 0xFE;
 
   // Setup the I2C bus
-  // The max bitrate for PCF8574 is 100kbit, the max bitrate for MCP23008 is 400kbit, 
+  // The max bitrate for is 100kbit, the max bitrate for MCP23008 is 400kbit, 
   _i2c->frequency(100000);
   
 #if (MCP23008==1)
@@ -2796,7 +2796,7 @@
   // write the new data to the portexpander
   _writeRegister(GPIO, _lcd_bus);      
 #else
-  // PCF8574 of PCF8574A portexpander
+  // ofA portexpander
 
   // Init the portexpander bus
   _lcd_bus = D_LCD_BUS_DEF;
@@ -2843,7 +2843,7 @@
   // write the new data to the portexpander
   _writeRegister(GPIO, _lcd_bus);      
 #else
-  // PCF8574 of PCF8574A portexpander
+  // ofA portexpander
 
   // write the new data to the I2C portexpander
   _i2c->write(_slaveAddress, &_lcd_bus, 1);    
@@ -2868,7 +2868,7 @@
   // write the new data to the portexpander
   _writeRegister(GPIO, _lcd_bus);      
 #else
-  // PCF8574 of PCF8574A portexpander
+  // ofA portexpander
 
   // write the new data to the I2C portexpander
   _i2c->write(_slaveAddress, &_lcd_bus, 1);    
@@ -2892,7 +2892,7 @@
   // write the new data to the portexpander
   _writeRegister(GPIO, _lcd_bus);      
 #else
-  // PCF8574 of PCF8574A portexpander
+  // ofA portexpander
 
   // write the new data to the I2C portexpander
   _i2c->write(_slaveAddress, &_lcd_bus, 1);    
@@ -2948,7 +2948,7 @@
   // write the new data to the portexpander
   _writeRegister(GPIO, _lcd_bus);      
 #else
-  // PCF8574 of PCF8574A portexpander
+  // ofA portexpander
 
   // write the new data to the I2C portexpander
   _i2c->write(_slaveAddress, &_lcd_bus, 1);    
@@ -2994,7 +2994,7 @@
   // write the packed data to the I2C portexpander
   _i2c->write(_slaveAddress, data, 5);    
 #else
-  // PCF8574 of PCF8574A portexpander
+  // ofA portexpander
   
   _setEnableBit(true);            // set E 
   _setDataBits(value >> 4);       // set data high