Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of TextLCD by
Revision 8:c9de92a922fb, committed 2013-11-18
- Comitter:
- caaruizze
- Date:
- Mon Nov 18 14:12:53 2013 +0000
- Parent:
- 7:44f34c09bd37
- Commit message:
- libreria LCD 16X2;
Changed in this revision
TextLCD.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r 44f34c09bd37 -r c9de92a922fb TextLCD.h --- a/TextLCD.h Sat Dec 04 11:29:57 2010 +0000 +++ b/TextLCD.h Mon Nov 18 14:12:53 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;