Fork of LCD-Window which works with Enhanced TextLCD from Wim
Fork of LcdWindow by
Diff: hd44780_8bit.h
- Revision:
- 2:5ac5bab7daaf
- Parent:
- 1:65f72ed914fa
--- a/hd44780_8bit.h Tue Nov 16 20:49:18 2010 +0000 +++ b/hd44780_8bit.h Sat Nov 27 22:54:13 2010 +0000 @@ -46,10 +46,11 @@ * @param enable the pin name for the enable line (1=active) * @param rs the pin name for the register select line (0=cmd, 1=data) */ - HD44780LCD8bit(unsigned int width, unsigned int height, BusOut *data, PinName enable, PinName rs); + HD44780LCD8bit(unsigned int columns, unsigned int rows, BusOut *data, PinName enable, PinName rs); virtual void init(); - virtual void writeText(const unsigned int line, const unsigned int pos, const char text[]); + virtual void writeText(const unsigned int column, const unsigned int row, const char text[]); virtual void clear(); + virtual void character(int column, int row, int c); protected: void sendCmd(const unsigned char byte);