New LiquidCrystal library  1.5.0
Generic LCD control library
Public Member Functions | List of all members
LiquidCrystal_SR Class Reference
Inheritance diagram for LiquidCrystal_SR:
LCD

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 setBacklightPin (uint8_t pin, t_backlightPol pol)
 
void setBacklight (uint8_t mode)
 
- Public Member Functions inherited from LCD
 LCD ()
 
virtual void begin (uint8_t cols, uint8_t rows, uint8_t charsize=LCD_5x8DOTS)
 
void clear ()
 
void home ()
 
void noDisplay ()
 
void display ()
 
void noBlink ()
 
void blink ()
 
void noCursor ()
 
void cursor ()
 
void scrollDisplayLeft ()
 
void scrollDisplayRight ()
 
void leftToRight ()
 
void rightToLeft ()
 
void moveCursorLeft ()
 
void moveCursorRight ()
 
void autoscroll ()
 
void noAutoscroll ()
 
void createChar (uint8_t location, uint8_t charmap[])
 
void setCursor (uint8_t col, uint8_t row)
 
void backlight (void)
 
void noBacklight (void)
 
void on (void)
 
void off (void)
 
virtual void write (uint8_t value)
 

Additional Inherited Members

- Protected Attributes inherited from LCD
uint8_t _displayfunction
 
uint8_t _displaycontrol
 
uint8_t _displaymode
 
uint8_t _numlines
 
uint8_t _cols
 
t_backlightPol _polarity
 

Constructor & Destructor Documentation

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.

Parameters
srdata[in]pin for shiftregister data line.
srclock[in]pin for shiftregister clock line.
enable[in]optional direct enable pin for the LCD

Member Function Documentation

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.

Parameters
value[in]Value to send to the LCD.
Returns
mode LOW - write to the LCD CGRAM, HIGH - write a command to the LCD.

Reimplemented from LCD.

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.

See also
setBacklightPin.
Parameters
modebacklight mode (HIGH|LOW)

Reimplemented from LCD.

void LiquidCrystal_SR::setBacklightPin ( uint8_t  pin,
t_backlightPol  pol 
)
virtual

Sets the pin to control the backlight. Sets the pin in the device to control the backlight.

Warning
Currently not supported
Parameters
modebacklight mode (HIGH|LOW)
polbacklight polarity

Reimplemented from LCD.


The documentation for this class was generated from the following files: