LCD Library 1.2.0
LCD Library - LCD control class hierarchy library. Drop in replacement for the LiquidCrystal Library.
Public Member Functions
LiquidCrystal_SR3W Class Reference

#include <LiquidCrystal_SR3W.h>

Inheritance diagram for LiquidCrystal_SR3W:
LCD

List of all members.

Public Member Functions

 LiquidCrystal_SR3W (uint8_t data, uint8_t clk, uint8_t strobe)
 LiquidCrystal_SR3W (uint8_t data, uint8_t clk, uint8_t strobe, uint8_t backlighPin, t_backlighPol pol)
 LiquidCrystal_SR3W (uint8_t data, uint8_t clk, uint8_t strobe, uint8_t En, uint8_t Rw, uint8_t Rs, uint8_t d4, uint8_t d5, uint8_t d6, uint8_t d7, uint8_t backlighPin, t_backlighPol pol)
 LiquidCrystal_SR3W (uint8_t data, uint8_t clk, uint8_t strobe, uint8_t En, uint8_t Rw, uint8_t Rs, uint8_t d4, uint8_t d5, uint8_t d6, uint8_t d7)
virtual void send (uint8_t value, uint8_t mode)
void setBacklight (uint8_t value)
void setBacklightPin (uint8_t value, t_backlighPol pol)

Detailed Description

Definition at line 64 of file LiquidCrystal_SR3W.h.


Constructor & Destructor Documentation

LiquidCrystal_SR3W::LiquidCrystal_SR3W ( uint8_t  data,
uint8_t  clk,
uint8_t  strobe 
)

Class constructor. Initializes class variables and defines the IO driving the shift register. The constructor does not initialize the LCD. Default configuration: Shift register LCD QA DB4 QB DB5 QC DB6 QD DB7 QE E QF Rs GND Rw

Parameters:
strobe[in]shiftregister strobe pin.
data[in]shiftregister data pin.
clk[in]shiftregister clock pin.

Definition at line 122 of file LiquidCrystal_SR3W.cpp.

LiquidCrystal_SR3W::LiquidCrystal_SR3W ( uint8_t  data,
uint8_t  clk,
uint8_t  strobe,
uint8_t  backlighPin,
t_backlighPol  pol 
)

Definition at line 127 of file LiquidCrystal_SR3W.cpp.

LiquidCrystal_SR3W::LiquidCrystal_SR3W ( uint8_t  data,
uint8_t  clk,
uint8_t  strobe,
uint8_t  En,
uint8_t  Rw,
uint8_t  Rs,
uint8_t  d4,
uint8_t  d5,
uint8_t  d6,
uint8_t  d7 
)

Class constructor. Initializes class variables and defines the control lines of the LCD and the shiftregister. The constructor does not initialize the LCD.

Parameters:
strobe[in]shiftregister strobe pin.
data[in]shiftregister data pin.
clk[in]shiftregister clock pin.
En[in]LCD En (Enable) pin connected to the IO extender module
Rw[in]LCD Rw (Read/write) pin connected to the IO extender module
Rs[in]LCD Rs (Reg Select) pin connected to the IO extender module
d0[in]LCD data 0 pin map on IO extender module
d1[in]LCD data 1 pin map on IO extender module
d2[in]LCD data 2 pin map on IO extender module
d3[in]LCD data 3 pin map on IO extender module

Definition at line 134 of file LiquidCrystal_SR3W.cpp.

LiquidCrystal_SR3W::LiquidCrystal_SR3W ( uint8_t  data,
uint8_t  clk,
uint8_t  strobe,
uint8_t  En,
uint8_t  Rw,
uint8_t  Rs,
uint8_t  d4,
uint8_t  d5,
uint8_t  d6,
uint8_t  d7,
uint8_t  backlighPin,
t_backlighPol  pol 
)

Definition at line 141 of file LiquidCrystal_SR3W.cpp.


Member Function Documentation

void LiquidCrystal_SR3W::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.

Users should never call this method.

Parameters:
value[in]Value to send to the LCD.
mode[in]DATA - write to the LCD CGRAM, COMMAND - write a command to the LCD.

Reimplemented from LCD.

Definition at line 151 of file LiquidCrystal_SR3W.cpp.

void LiquidCrystal_SR3W::setBacklight ( uint8_t  value) [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:
value,:backlight mode (HIGH|LOW)

Reimplemented from LCD.

Definition at line 177 of file LiquidCrystal_SR3W.cpp.

void LiquidCrystal_SR3W::setBacklightPin ( uint8_t  value,
t_backlighPol  pol = POSITIVE 
) [virtual]

Sets the pin to control the backlight. Sets the pin in the device to control the backlight. This device doesn't support dimming backlight capability.

Parameters:
0,:backlight off, 1..255: backlight on.

Reimplemented from LCD.

Definition at line 169 of file LiquidCrystal_SR3W.cpp.


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines