#include <LiquidCrystal_I2CAdapter.h>
Adapter class for interfacing with LiquidCrystal_I2C displays.
This class provides an interface to control LiquidCrystal_I2C displays using the CharacterDisplayInterface. It includes methods for initializing the display, creating custom characters, setting the backlight, positioning the cursor, drawing text and characters, and managing a display timer.
Note
This class requires the LiquidCrystal_I2C library.
- Param lcd:
Pointer to a LiquidCrystal_I2C object that this adapter will interact with.
Public Functions
-
inline LiquidCrystal_I2CAdapter(LiquidCrystal_I2C *lcd)
-
inline virtual void begin() override
-
inline virtual void createChar(uint8_t id, uint8_t *c) override
Creates a custom character on the display.
- Parameters:
-
-
inline virtual void setBacklight(bool enabled) override
-
inline virtual void setCursor(uint8_t col, uint8_t row) override
-
inline virtual void draw(const char *text) override
-
inline virtual void draw(uint8_t byte) override
-
inline virtual void drawBlinker() override
Draws a blinker on the display.
-
inline virtual void clearBlinker() override
Clears the blinker from the display.
-
inline virtual void show() override
-
inline virtual void hide() override
-
inline virtual void clear() override
Private Members
-
LiquidCrystal_I2C *lcd