diff options
author | Stanley Huang <stanleyhuangyc@gmail.com> | 2013-04-02 16:40:17 +0800 |
---|---|---|
committer | Stanley Huang <stanleyhuangyc@gmail.com> | 2013-04-02 16:40:17 +0800 |
commit | 6077f86def0a1a2ddd7e22a128178ad4bc787218 (patch) | |
tree | 033444f96929449bb9a159d94f2596ae35f06b5d /libraries/MultiLCD | |
parent | b59be2fb6f05f43e93ce70bd140ab7149fa18c40 (diff) | |
download | 2021-arduino-obd-6077f86def0a1a2ddd7e22a128178ad4bc787218.tar.gz 2021-arduino-obd-6077f86def0a1a2ddd7e22a128178ad4bc787218.tar.bz2 2021-arduino-obd-6077f86def0a1a2ddd7e22a128178ad4bc787218.zip |
fix write() in MultiLCD
Diffstat (limited to 'libraries/MultiLCD')
-rw-r--r-- | libraries/MultiLCD/MultiLCD.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libraries/MultiLCD/MultiLCD.cpp b/libraries/MultiLCD/MultiLCD.cpp index 06500fa..22112d1 100644 --- a/libraries/MultiLCD/MultiLCD.cpp +++ b/libraries/MultiLCD/MultiLCD.cpp @@ -118,6 +118,7 @@ void LCD_OLED::write(char c) { char s[2] = {c}; ScI2cMxDisplay8x16Str(OLED_ADDRESS, m_line, m_column, s); + m_column = (m_column + 8) & 0x7f; } void LCD_OLED::print(const char* s) |