LiquidCrystal: Added destructor.

This commit is contained in:
RedHawk 2023-05-08 15:35:46 +03:00
parent 20fe16b46e
commit 052d015425
2 changed files with 4 additions and 0 deletions

View File

@ -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;

View File

@ -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();