aboutsummaryrefslogtreecommitdiff
path: root/libraries/LiquidCrystal/LiquidCrystal.h
diff options
context:
space:
mode:
authorDavid A. Mellis <d.mellis@arduino.cc>2008-05-07 18:24:49 +0000
committerDavid A. Mellis <d.mellis@arduino.cc>2008-05-07 18:24:49 +0000
commit4b2b39e383d7fec0f94deb0f9a75a493bce2d0ca (patch)
tree43c30ba64a83d21416e640cd532a5cd4198b4f55 /libraries/LiquidCrystal/LiquidCrystal.h
parent2d5bc015fbd70befc08c2295630ff06770e9d7c8 (diff)
Changing Print class to use regular virtual write() function (instead of my hack
ed together version).
Diffstat (limited to 'libraries/LiquidCrystal/LiquidCrystal.h')
-rwxr-xr-xlibraries/LiquidCrystal/LiquidCrystal.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/libraries/LiquidCrystal/LiquidCrystal.h b/libraries/LiquidCrystal/LiquidCrystal.h
index c4746c5..a5edc5f 100755
--- a/libraries/LiquidCrystal/LiquidCrystal.h
+++ b/libraries/LiquidCrystal/LiquidCrystal.h
@@ -16,9 +16,11 @@ public:
void shiftDisplayLeft();
void shiftDisplayRight();
*/
- void write(int, int = 1);
- void command(int);
+ virtual void write(uint8_t);
+ void command(uint8_t);
private:
+ void send(uint8_t, uint8_t);
+
uint8_t _four_bit_mode;
uint8_t _rs_pin; // LOW: command. HIGH: character.
uint8_t _rw_pin; // LOW: write to LCD. HIGH: read from LCD.
@@ -26,6 +28,4 @@ private:
uint8_t _data_pins[8];
};
-void baseWrite(uint8_t, void *);
-
#endif