TextLCD library for controlling various LCD panels based on the HD44780 4-bit interface
Fork of TextLCD by
Revision 9:f075d2b4ac2d, committed 2016-05-24
- Comitter:
- satelite
- Date:
- Tue May 24 14:08:09 2016 +0000
- Parent:
- 8:308d188a2d3a
- Commit message:
- Not changed
Changed in this revision
TextLCD.cpp | Show annotated file Show diff for this revision Revisions of this file |
TextLCD.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/TextLCD.cpp Thu Jan 02 21:07:01 2014 +0000 +++ b/TextLCD.cpp Tue May 24 14:08:09 2016 +0000 @@ -60,6 +60,8 @@ } void TextLCD::locate(int column, int row) { + //int a = address(column, row); + //writeCommand(a); _column = column; _row = row; }
--- a/TextLCD.h Thu Jan 02 21:07:01 2014 +0000 +++ b/TextLCD.h Tue May 24 14:08:09 2016 +0000 @@ -88,6 +88,9 @@ int rows(); int columns(); + void writeCommand(int command); + void writeData(int data); + protected: // Stream implementation functions @@ -97,8 +100,8 @@ int address(int column, int row); void character(int column, int row, int c); void writeByte(int value); - void writeCommand(int command); - void writeData(int data); + //void writeCommand(int command); + //void writeData(int data); DigitalOut _rs, _e; BusOut _d;