Library implementing the TextDisplay interface for the Serial LCDs as sold by Sparkfun etc...
Diff: TextLCD_Serial.h
- Revision:
- 1:7174fd65fd77
- Parent:
- 0:bd978ddc0470
- Child:
- 2:60947d4b0efe
--- a/TextLCD_Serial.h Fri Aug 27 13:01:14 2010 +0000 +++ b/TextLCD_Serial.h Sat Aug 28 14:00:41 2010 +0000 @@ -1,15 +1,17 @@ +// Copyright (c) 2010 mwaddilove +// Released under the MIT License: http://mbed.org/license/mit + #pragma once #include "TextDisplay.h" -//! class that implements TextDisplay, for a 2x16 (2x20 to come) serial LCD, controlled by the HD44780 +//! class that implements TextDisplay, for a 2x16 (2x20 etc. to come) serial LCD, controlled by the HD44780 class TextLCD_Serial : public TextDisplay { public: //! Constructor TextLCD_Serial(PinName tx, PinName rx, char const * name = NULL); - virtual void character(int column, int row, int c); virtual int rows() @@ -20,14 +22,10 @@ { return 16; } - - /** Clear the screen and locate to 0,0 */ virtual void cls(); - - protected: //! Set the LCD's cursor position