Arduino-LCD
LCD library for Arduino
|
#include <LCD4884.h>
Public Types | |
enum | { NO_KEY = 0, UP_KEY, RIGHT_KEY, DOWN_KEY, SELECT_KEY, LEFT_KEY } |
Public Member Functions | |
LCD4884 (const uint8_t *font=NULL) | |
virtual bool | begin () |
virtual void | backlight_on () |
virtual void | backlight_off () |
virtual bool | end () |
virtual void | display_contrast (uint8_t level) |
virtual void | display_on () |
virtual void | display_off () |
virtual void | display_normal () |
virtual void | display_inverse () |
virtual void | display_clear () |
virtual void | cursor_set (uint8_t x, uint8_t y) |
virtual size_t | write (uint8_t c) |
virtual void | cursor_blink_on () |
virtual void | cursor_blink_off () |
void | cursor_get (uint8_t &x, uint8_t &y) const |
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 () |
Static Public Attributes | |
static const uint8_t | FONT_WIDTH |
static const uint8_t | FONT_HEIGHT |
static const uint8_t | WIDTH |
static const uint8_t | HEIGHT |
Protected Types | |
enum | |
Protected Member Functions | |
const uint16_t * | keymap () |
void | write_data (uint8_t value) |
void | write_data (uint8_t value, size_t count) |
void | write_command (uint8_t value) |
void | write_command_P (const uint8_t *buf, size_t count) |
Protected Attributes | |
GPIO< BOARD::D6 > | m_rst |
GPIO< BOARD::D7 > | m_bl |
GPIO< SCE_PIN > | m_sce |
GPIO< DC_PIN > | m_dc |
SRPO< MSBFIRST, SDIN_PIN, SCLK_PIN > | m_srpo |
const uint8_t * | m_font |
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... | |
Static Protected Attributes | |
static const uint8_t | BACKGROUND |
Device drivers for LCD4884 Shield with PCD8544 display and analog joy stick (SELECT, UP, DOWN, LEFT, and RIGHT).
|
protectedinherited |
anonymous enum |
|
inline |
|
inlinevirtual |
Turn display backlight off.
Reimplemented from LCD::Device.
|
inlinevirtual |
|
inlinevirtual |
Start interaction with shield.
Reimplemented from PCD8544< BOARD::D5, BOARD::D4, BOARD::D3, BOARD::D2 >.
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
inlineinherited |
|
inlinevirtualinherited |
|
inlinevirtualinherited |
Set cursor to given position.
[in] | x | pixel position (0..WIDTH-1). |
[in] | y | line position (0..LINES-1). |
Implements LCD::Device.
|
inlinevirtualinherited |
|
inlinevirtualinherited |
Clear display and move cursor to home.
Implements LCD::Device.
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
inlinevirtualinherited |
Stop interaction with device and power down.
Reimplemented from LCD::Device.
|
inlineprotected |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlinevirtualinherited |
Write character to display. Handles carriage-return, line-feed, backspace, alert, horizontal tab and form-feed. Returns number of characters(1) or zero(0) on error.
[in] | c | character to write. |
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
staticprotectedinherited |
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
staticinherited |