Display text on LCD displays (even on multiple ones). Allow to create windows (frames) on display, and to combine them (split, add, duplicate, scroll). See http://mbed.org/users/hlipka/notebook/lcdwindow/ for more information.
Diff: hd44780_8bit.h
- Revision:
- 1:65f72ed914fa
- Parent:
- 0:ae5037e3d6e0
- Child:
- 2:5ac5bab7daaf
--- a/hd44780_8bit.h Mon Nov 15 22:37:30 2010 +0000 +++ b/hd44780_8bit.h Tue Nov 16 20:49:18 2010 +0000 @@ -48,14 +48,14 @@ */ HD44780LCD8bit(unsigned int width, unsigned int height, BusOut *data, PinName enable, PinName rs); virtual void init(); - virtual void writeText(unsigned int line, unsigned int pos, char text[]); + virtual void writeText(const unsigned int line, const unsigned int pos, const char text[]); virtual void clear(); protected: - void sendCmd(unsigned char byte); - void sendData(unsigned char byte); + void sendCmd(const unsigned char byte); + void sendData(const unsigned char byte); - void sendByte(unsigned char byte); + void sendByte(const unsigned char byte); BusOut* _data; DigitalOut *_enable, *_rs;