From 4b2b39e383d7fec0f94deb0f9a75a493bce2d0ca Mon Sep 17 00:00:00 2001 From: "David A. Mellis" Date: Wed, 7 May 2008 18:24:49 +0000 Subject: Changing Print class to use regular virtual write() function (instead of my hack ed together version). --- libraries/LiquidCrystal/LiquidCrystal.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libraries/LiquidCrystal/LiquidCrystal.h') 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 -- cgit v1.2.3-18-g5258