Arduino-LCD
LCD library for Arduino
|
#include <LCD.h>
Public Member Functions | |
Device () | |
virtual bool | begin ()=0 |
virtual bool | end () |
virtual void | backlight_on () |
virtual void | backlight_off () |
virtual void | display_contrast (uint8_t level) |
virtual void | display_on ()=0 |
virtual void | display_off ()=0 |
virtual void | display_normal () |
virtual void | display_inverse () |
virtual void | display_clear ()=0 |
virtual void | cursor_blink_on () |
virtual void | cursor_blink_off () |
void | cursor_get (uint8_t &x, uint8_t &y) const |
virtual void | cursor_set (uint8_t x, uint8_t y)=0 |
virtual void | cursor_home () |
virtual void | cursor_update () |
uint8_t | tab_step () const |
void | tab_step (uint8_t step) |
uint8_t | text_mode () const |
void | text_normal_mode () |
void | text_inverted_mode () |
Protected Attributes | |
uint8_t | m_x |
Cursor position x. More... | |
uint8_t | m_y |
Cursor position y. More... | |
uint8_t | m_tab |
Tab step. More... | |
uint8_t | m_mode |
Text mode. More... | |
Common interface for LCD; LCD::Device as the base class for device drivers.
|
inline |
|
inlinevirtual |
|
inlinevirtual |
|
pure virtual |
Start display for text output. Returns true if successful otherwise false.
Implemented in PCD8544< SCE_PIN, DC_PIN, SDIN_PIN, SCLK_PIN >, PCD8544< BOARD::D5, BOARD::D4, BOARD::D3, BOARD::D2 >, MAX72XX< SCE_PIN, SDIN_PIN, SCLK_PIN >, HD44780, and LCD4884.
|
inlinevirtual |
|
inlinevirtual |
|
inline |
|
inlinevirtual |
|
pure virtual |
Set cursor position to given position.
[in] | x. | |
[in] | y. |
Implemented in PCD8544< SCE_PIN, DC_PIN, SDIN_PIN, SCLK_PIN >, PCD8544< BOARD::D5, BOARD::D4, BOARD::D3, BOARD::D2 >, MAX72XX< SCE_PIN, SDIN_PIN, SCLK_PIN >, and HD44780.
|
inlinevirtual |
|
pure virtual |
Clear display and move cursor to home.
Implemented in PCD8544< SCE_PIN, DC_PIN, SDIN_PIN, SCLK_PIN >, PCD8544< BOARD::D5, BOARD::D4, BOARD::D3, BOARD::D2 >, MAX72XX< SCE_PIN, SDIN_PIN, SCLK_PIN >, and HD44780.
|
inlinevirtual |
Set display contrast level.
[in] | level | to set. |
Reimplemented in PCD8544< SCE_PIN, DC_PIN, SDIN_PIN, SCLK_PIN >, PCD8544< BOARD::D5, BOARD::D4, BOARD::D3, BOARD::D2 >, and MAX72XX< SCE_PIN, SDIN_PIN, SCLK_PIN >.
|
inlinevirtual |
Display inverse mode.
Reimplemented in PCD8544< SCE_PIN, DC_PIN, SDIN_PIN, SCLK_PIN >, and PCD8544< BOARD::D5, BOARD::D4, BOARD::D3, BOARD::D2 >.
|
inlinevirtual |
Display normal mode.
Reimplemented in PCD8544< SCE_PIN, DC_PIN, SDIN_PIN, SCLK_PIN >, and PCD8544< BOARD::D5, BOARD::D4, BOARD::D3, BOARD::D2 >.
|
pure virtual |
Turn display off.
Implemented in PCD8544< SCE_PIN, DC_PIN, SDIN_PIN, SCLK_PIN >, PCD8544< BOARD::D5, BOARD::D4, BOARD::D3, BOARD::D2 >, MAX72XX< SCE_PIN, SDIN_PIN, SCLK_PIN >, and HD44780.
|
pure virtual |
Turn display on.
Implemented in PCD8544< SCE_PIN, DC_PIN, SDIN_PIN, SCLK_PIN >, PCD8544< BOARD::D5, BOARD::D4, BOARD::D3, BOARD::D2 >, MAX72XX< SCE_PIN, SDIN_PIN, SCLK_PIN >, and HD44780.
|
inlinevirtual |
Stop display and power down. Returns true if successful otherwise false.
Reimplemented in PCD8544< SCE_PIN, DC_PIN, SDIN_PIN, SCLK_PIN >, PCD8544< BOARD::D5, BOARD::D4, BOARD::D3, BOARD::D2 >, and MAX72XX< SCE_PIN, SDIN_PIN, SCLK_PIN >.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |