TextLCD library for controlling various LCD panels based on the HD44780 4-bit interface. This version handles rs and rw pins
Fork of TextLCD by
Diff: TextLCD.h
- Revision:
- 8:ae61b88ec9e7
- Parent:
- 7:44f34c09bd37
diff -r 44f34c09bd37 -r ae61b88ec9e7 TextLCD.h --- a/TextLCD.h Sat Dec 04 11:29:57 2010 +0000 +++ b/TextLCD.h Fri Jul 27 20:18:10 2012 +0000 @@ -58,7 +58,7 @@ * @param d4-d7 Data lines for using as a 4-bit interface * @param type Sets the panel size/addressing mode (default = LCD16x2) */ - TextLCD(PinName rs, PinName e, PinName d4, PinName d5, PinName d6, PinName d7, LCDType type = LCD16x2); + TextLCD(PinName rs, PinName rw,PinName e, PinName d4, PinName d5, PinName d6, PinName d7, LCDType type = LCD16x2); #if DOXYGEN_ONLY /** Write a character to the LCD @@ -100,7 +100,7 @@ void writeCommand(int command); void writeData(int data); - DigitalOut _rs, _e; + DigitalOut _rs,_rw, _e; BusOut _d; LCDType _type;