diff options
author | Stanley Huang <stanleyhuangyc@gmail.com> | 2013-06-10 13:21:09 +0800 |
---|---|---|
committer | Stanley Huang <stanleyhuangyc@gmail.com> | 2013-06-10 13:21:09 +0800 |
commit | 47c6ff979fea8051c02fb38fe99c0021880a4ed8 (patch) | |
tree | e8ff3fc5e616e4b0a26faba64c904d7d18c75037 /libraries/MultiLCD/LCD4Bit_mod.h | |
parent | f6082dee6e41054bec5b8d97e848517cbebbb3ad (diff) | |
download | 2021-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.h | 5 |
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); |