TextLCD library for controlling various LCD panels based on the HD44780 4-bit interface. adapted for winstar oled display by CJS august 2012. Moved some functions into public class to enable custom character generation from user code.
Dependents: CCRMonitor12_sp07_120ver
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;