Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of LcdWindow by
Diff: textlcdadapter.h
- Revision:
- 12:393329d0e050
- Parent:
- 10:d40c70908bf0
--- a/textlcdadapter.h Mon Jan 04 21:20:43 2016 +0000
+++ b/textlcdadapter.h Tue Jan 12 20:40:39 2016 +0000
@@ -36,15 +36,16 @@
virtual void clear();
virtual void writeText(const unsigned int column, const unsigned int row, const char text[]);
- virtual int getRows();
- virtual int getColumns();
+ virtual int getRows() {return _rows;};
+ virtual int getColumns(){return _columns;};
virtual void character(int column, int row, int c);
int putc(int c);
int printf(const char* format, ...);
private:
TextLCD_Base *_lcd;
-
+ int _columns;
+ int _rows;
};
#endif
