LCD Library 1.2.1
LCD Library - LCD control class hierarchy library. Drop in replacement for the LiquidCrystal Library.
|
#include <LiquidCrystal_SR.h>
Public Member Functions | |
LiquidCrystal_SR (uint8_t srdata, uint8_t srclock, uint8_t enable=TWO_WIRE) | |
virtual void | send (uint8_t value, uint8_t mode) |
void | setBacklight (uint8_t mode) |
void | setBacklightPin (uint8_t pin, t_backlighPol pol) |
Definition at line 94 of file LiquidCrystal_SR.h.
LiquidCrystal_SR::LiquidCrystal_SR | ( | uint8_t | srdata, |
uint8_t | srclock, | ||
uint8_t | enable = TWO_WIRE |
||
) |
LCD SHIFT REGISTER constructors. Defines the pin assignment that the LCD will have. The constructor does not initialize the LCD. Assuming 1 line 8 pixel high font.
srdata[in] | pin for shiftregister data line. |
srclock[in] | pin for shiftregister clock line. |
enable[in] | optional direct enable pin for the LCD |
Definition at line 98 of file LiquidCrystal_SR.cpp.
void LiquidCrystal_SR::send | ( | uint8_t | value, |
uint8_t | mode | ||
) | [virtual] |
Send a particular value to the LCD. Sends a particular value to the LCD for writing to the LCD or as an LCD command using the shift register.
Users should never call this method.
value[in] | Value to send to the LCD. |
Reimplemented from LCD.
Definition at line 172 of file LiquidCrystal_SR.cpp.
void LiquidCrystal_SR::setBacklight | ( | uint8_t | mode | ) | [virtual] |
Switch-on/off the LCD backlight. Switch-on/off the LCD backlight. The setBacklightPin has to be called before setting the backlight for this method to work.
mode,: | backlight mode (HIGH|LOW) |
Reimplemented from LCD.
Definition at line 207 of file LiquidCrystal_SR.cpp.
void LiquidCrystal_SR::setBacklightPin | ( | uint8_t | pin, |
t_backlighPol | pol | ||
) | [virtual] |
Sets the pin to control the backlight. Sets the pin in the device to control the backlight.
mode,: | backlight mode (HIGH|LOW) |
pol,: | backlight polarity |
Reimplemented from LCD.
Definition at line 202 of file LiquidCrystal_SR.cpp.