A TextDisplay driver that supports graphical displays using on of the SED133x conrtrolers. Allows stdout and stderr output to be redirected to the display.
Diff: TextLCD.cpp
- Revision:
- 1:18c56f038905
- Parent:
- 0:9e72c57b16fd
--- a/TextLCD.cpp Sat Jan 08 22:24:00 2011 +0000 +++ b/TextLCD.cpp Sat Jan 15 16:02:56 2011 +0000 @@ -37,7 +37,8 @@ */ TextLCD::TextLCD(PinName rs, PinName rw, PinName e, PinName d0, PinName d1, - PinName d2, PinName d3, uint16_t rows, uint16_t cols) : _rw(rw), _rs(rs), + PinName d2, PinName d3, uint16_t rows, uint16_t cols, const char *name) : + TextDisplay(name), _rw(rw), _rs(rs), _e(e), _d(d0, d1, d2, d3), _rows(rows), _columns(cols) { _rw = 0;