version fonteh text LCD library to drive the winstar 16x2 oled unit, allowing access to setting custom characters.
Fork of TextLCD by
Diff: TextLCD.h
- Revision:
- 9:c1ad3961696d
- Parent:
- 7:44f34c09bd37
diff -r 0f6daea1c38b -r c1ad3961696d TextLCD.h --- a/TextLCD.h Wed Aug 01 15:04:09 2012 +0000 +++ b/TextLCD.h Thu Aug 02 14:54:39 2012 +0000 @@ -42,7 +42,10 @@ */ class TextLCD : public Stream { public: - + void writeCommand(int command); + void writeData(int data); + void character(int column, int row, int c); + /** LCD panel format */ enum LCDType { LCD16x2 /**< 16x2 LCD panel (default) */ @@ -95,10 +98,9 @@ virtual int _getc(); int address(int column, int row); - void character(int column, int row, int c); + //void character(int column, int row, int c); void writeByte(int value); - void writeCommand(int command); - void writeData(int data); + DigitalOut _rs, _e; BusOut _d;