summaryrefslogtreecommitdiff
path: root/obdlogger/MultiLCD.h
diff options
context:
space:
mode:
Diffstat (limited to 'obdlogger/MultiLCD.h')
-rw-r--r--obdlogger/MultiLCD.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/obdlogger/MultiLCD.h b/obdlogger/MultiLCD.h
index b8adfeb..5a8f7e3 100644
--- a/obdlogger/MultiLCD.h
+++ b/obdlogger/MultiLCD.h
@@ -9,6 +9,7 @@ public:
virtual void backlight(bool on) {}
virtual byte getLines() = 0;
virtual byte getCols() = 0;
+ virtual void changeLine() {}
};
class LCD_PCD8544 : public LCD_Common, public PCD8544
@@ -43,6 +44,11 @@ public:
m_column = column << 3;
m_line = line << 1;
}
+ void changeLine()
+ {
+ m_column = 0;
+ m_line += 2;
+ }
void write(char c);
void print(const char* s);
void printLarge(const char* s);