LiquidCrystal: Added destructor.
This commit is contained in:
parent
20fe16b46e
commit
052d015425
@ -104,6 +104,8 @@ LiquidCrystal::LiquidCrystal(DigitalIoPin *rs, DigitalIoPin *enable,
|
||||
begin(16, 2); // default to 16x2 display
|
||||
}
|
||||
|
||||
LiquidCrystal::~LiquidCrystal() {}
|
||||
|
||||
void LiquidCrystal::begin(uint8_t cols, uint8_t lines, uint8_t dotsize) {
|
||||
if (lines > 1) {
|
||||
_displayfunction |= LCD_2LINE;
|
||||
|
||||
@ -50,6 +50,8 @@ public:
|
||||
LiquidCrystal(DigitalIoPin *rs, DigitalIoPin *enable,
|
||||
DigitalIoPin *d0, DigitalIoPin *d1, DigitalIoPin *d2, DigitalIoPin *d3);
|
||||
|
||||
virtual ~LiquidCrystal();
|
||||
|
||||
void begin(uint8_t cols, uint8_t rows, uint8_t charsize = LCD_5x8DOTS);
|
||||
|
||||
void clear();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user