libreria lcd
Fork of TextLCD by
Revision 8:241eed84760a, committed 2013-12-12
- Comitter:
- caaruizze
- Date:
- Thu Dec 12 02:38:35 2013 +0000
- Parent:
- 7:44f34c09bd37
- Commit message:
- libreria lcd;
Changed in this revision
TextLCD.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r 44f34c09bd37 -r 241eed84760a TextLCD.h --- a/TextLCD.h Sat Dec 04 11:29:57 2010 +0000 +++ b/TextLCD.h Thu Dec 12 02:38:35 2013 +0000 @@ -43,12 +43,14 @@ class TextLCD : public Stream { public: +void writeCommand(int command); + /** LCD panel format */ enum LCDType { - LCD16x2 /**< 16x2 LCD panel (default) */ - , LCD16x2B /**< 16x2 LCD panel alternate addressing */ - , LCD20x2 /**< 20x2 LCD panel */ - , LCD20x4 /**< 20x4 LCD panel */ + LCD16x2, /**< 16x2 LCD panel (default) */ + LCD16x2B, /**< 16x2 LCD panel alternate addressing */ + LCD20x2, /**< 20x2 LCD panel */ + LCD20x4, /**< 20x4 LCD panel */ }; /** Create a TextLCD interface @@ -97,7 +99,7 @@ int address(int column, int row); void character(int column, int row, int c); void writeByte(int value); - void writeCommand(int command); + //void writeCommand(int command); void writeData(int data); DigitalOut _rs, _e;