Initial commit

Fork of TextLCD by Wim Huiskamp

Revision:
21:4984088e349c
Parent:
20:e0da005a777f
diff -r e0da005a777f -r 4984088e349c TextLCD.h
--- a/TextLCD.h	Mon May 13 19:29:13 2013 +0000
+++ b/TextLCD.h	Fri Dec 05 10:26:07 2014 +0000
@@ -214,28 +214,6 @@
         LightOn          /**<  Backlight On */            
     };
 
-    /** Create a TextLCD interface for using regular mbed pins
-     *
-     * @param rs    Instruction/data control line
-     * @param e     Enable line (clock)
-     * @param d4-d7 Data lines for using as a 4-bit interface
-     * @param type  Sets the panel size/addressing mode (default = LCD16x2)
-     * @param bl    Backlight control line (optional, default = NC)      
-     * @param e2    Enable2 line (clock for second controller, LCD40x4 only)  
-     * @param ctrl  LCD controller (default = HD44780)           
-     */
-    TextLCD(PinName rs, PinName e, PinName d4, PinName d5, PinName d6, PinName d7, LCDType type = LCD16x2, PinName bl = NC, PinName e2 = NC, LCDCtrl ctrl = HD44780);
-    
-    /** Create a TextLCD interface using an I2C PC8574 portexpander
-     *
-     * @param i2c             I2C Bus
-     * @param deviceAddress   I2C slave address (PCF8574)
-     * @param type            Sets the panel size/addressing mode (default = LCD16x2)
-     * @param ctrl            LCD controller (default = HD44780)                
-     */
-    TextLCD(I2C *i2c, char deviceAddress, LCDType type = LCD16x2, LCDCtrl ctrl = HD44780);
-
-
     /** Create a TextLCD interface using an SPI 74595 portexpander
      *
      * @param spi             SPI Bus
@@ -243,7 +221,7 @@
      * @param type            Sets the panel size/addressing mode (default = LCD16x2)
      * @param ctrl            LCD controller (default = HD44780)                     
      */
-    TextLCD(SPI *spi, PinName cs, LCDType type = LCD16x2, LCDCtrl ctrl = HD44780);
+    TextLCD(SPI *spi, PinName cs, PinName rs, LCDType type = LCD16x2, LCDCtrl ctrl = HD44780);
 
 
 #if DOXYGEN_ONLY
@@ -314,13 +292,7 @@
      */
     void setMode(TextLCD::LCDMode displayMode);     
 
-    /** Set the Backlight mode
-     *
-     * @param backlightMode The Backlight mode (LightOff, LightOn)
-     */
-    void setBacklight(TextLCD::LCDBacklight backlightMode); 
-
-
+    
     /** Set User Defined Characters
      *
      * @param unsigned char c   The Index of the UDC (0..7)