mbed TextOLED Library, for a 4-bit LCD based on Winstar WEH000000 series Originl: http://mbed.org/users/simon/libraries/TextLCD/latest 共立電子 デジット の OLEDモジュール 4bitモード用 adapted 12/3/2013 by CJS to make custom character defintions possible
Fork of TextOLED by
Revision 3:f67d4fc4e388, committed 2013-03-12
- Comitter:
- pegcjs
- Date:
- Tue Mar 12 15:34:51 2013 +0000
- Parent:
- 2:45788bd06d4c
- Commit message:
- moved writeComand, writeData and character into pulich classes to alow definition of custom characters on the fly
Changed in this revision
TextOLED.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/TextOLED.h Wed Nov 28 03:32:30 2012 +0000 +++ b/TextOLED.h Tue Mar 12 15:34:51 2013 +0000 @@ -46,7 +46,9 @@ */ class TextOLED : 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) */ @@ -102,11 +104,11 @@ 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 write4bit(int value); 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;