summaryrefslogtreecommitdiff
path: root/libraries/MultiLCD/LCD4Bit_mod.h
diff options
context:
space:
mode:
authorStanley Huang <stanleyhuangyc@gmail.com>2013-06-10 13:21:09 +0800
committerStanley Huang <stanleyhuangyc@gmail.com>2013-06-10 13:21:09 +0800
commit47c6ff979fea8051c02fb38fe99c0021880a4ed8 (patch)
treee8ff3fc5e616e4b0a26faba64c904d7d18c75037 /libraries/MultiLCD/LCD4Bit_mod.h
parentf6082dee6e41054bec5b8d97e848517cbebbb3ad (diff)
download2021-arduino-obd-47c6ff979fea8051c02fb38fe99c0021880a4ed8.tar.gz
2021-arduino-obd-47c6ff979fea8051c02fb38fe99c0021880a4ed8.tar.bz2
2021-arduino-obd-47c6ff979fea8051c02fb38fe99c0021880a4ed8.zip
update MultiLCD library
Diffstat (limited to 'libraries/MultiLCD/LCD4Bit_mod.h')
-rw-r--r--libraries/MultiLCD/LCD4Bit_mod.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/libraries/MultiLCD/LCD4Bit_mod.h b/libraries/MultiLCD/LCD4Bit_mod.h
index 7cd5115..1d223b1 100644
--- a/libraries/MultiLCD/LCD4Bit_mod.h
+++ b/libraries/MultiLCD/LCD4Bit_mod.h
@@ -3,7 +3,7 @@
#include <inttypes.h>
-class LCD4Bit_mod {
+class LCD4Bit_mod : public Print {
public:
LCD4Bit_mod(byte num_lines = 2):USING_RW(false),RS(8),RW(11),Enable(9)
{
@@ -15,8 +15,7 @@ public:
}
void commandWrite(byte value);
void begin();
- void write(byte value);
- void print(const char* string);
+ size_t write(uint8_t c);
void clear();
//non-core---------------
void setCursor(byte x, byte line);