Library for a 2x16 lcd screen (not mine)
Dependents: lcd_menu RFID_Tag_List NEWlcd_menu_v2
Fork of TextLCD by
Revision 8:680ec8d5949c, committed 2013-02-28
- Comitter:
- pyeh9
- Date:
- Thu Feb 28 22:18:23 2013 +0000
- Parent:
- 7:44f34c09bd37
- Commit message:
- Commit message
Changed in this revision
TextLCD.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r 44f34c09bd37 -r 680ec8d5949c TextLCD.h --- a/TextLCD.h Sat Dec 04 11:29:57 2010 +0000 +++ b/TextLCD.h Thu Feb 28 22:18:23 2013 +0000 @@ -40,6 +40,7 @@ * } * @endcode */ + class TextLCD : public Stream { public: @@ -59,7 +60,7 @@ * @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); - + #if DOXYGEN_ONLY /** Write a character to the LCD * @@ -88,6 +89,11 @@ int rows(); int columns(); + int getRow() { return _row; } + int getCol() { return _column; } + + int _column; + int _row; protected: // Stream implementation functions @@ -104,8 +110,7 @@ BusOut _d; LCDType _type; - int _column; - int _row; + }; #endif