From 47c6ff979fea8051c02fb38fe99c0021880a4ed8 Mon Sep 17 00:00:00 2001 From: Stanley Huang Date: Mon, 10 Jun 2013 13:21:09 +0800 Subject: update MultiLCD library --- libraries/MultiLCD/LCD4Bit_mod.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'libraries/MultiLCD/LCD4Bit_mod.h') 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 -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); -- cgit v1.2.3