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

#include <LiquidCrystal.h>

Inheritance diagram for LiquidCrystal:
LCD

List of all members.

Public Member Functions

 LiquidCrystal (uint8_t rs, uint8_t enable, uint8_t d0, uint8_t d1, uint8_t d2, uint8_t d3, uint8_t d4, uint8_t d5, uint8_t d6, uint8_t d7)
 LiquidCrystal (uint8_t rs, uint8_t rw, uint8_t enable, uint8_t d0, uint8_t d1, uint8_t d2, uint8_t d3, uint8_t d4, uint8_t d5, uint8_t d6, uint8_t d7)
 LiquidCrystal (uint8_t rs, uint8_t enable, uint8_t d0, uint8_t d1, uint8_t d2, uint8_t d3)
 LiquidCrystal (uint8_t rs, uint8_t rw, uint8_t enable, uint8_t d0, uint8_t d1, uint8_t d2, uint8_t d3)
virtual void send (uint8_t value, uint8_t mode)
void setBacklight (uint8_t mode)
void setBacklightPin (uint8_t pin)

Detailed Description

Definition at line 46 of file LiquidCrystal.h.


Constructor & Destructor Documentation

LiquidCrystal::LiquidCrystal ( uint8_t  rs,
uint8_t  enable,
uint8_t  d0,
uint8_t  d1,
uint8_t  d2,
uint8_t  d3,
uint8_t  d4,
uint8_t  d5,
uint8_t  d6,
uint8_t  d7 
)

8 bit LCD constructors. Defines the pin assignment that the LCD will have. The constructor does not initialize the LCD.

Definition at line 57 of file LiquidCrystal.cpp.

LiquidCrystal::LiquidCrystal ( uint8_t  rs,
uint8_t  rw,
uint8_t  enable,
uint8_t  d0,
uint8_t  d1,
uint8_t  d2,
uint8_t  d3,
uint8_t  d4,
uint8_t  d5,
uint8_t  d6,
uint8_t  d7 
)

Definition at line 50 of file LiquidCrystal.cpp.

LiquidCrystal::LiquidCrystal ( uint8_t  rs,
uint8_t  rw,
uint8_t  enable,
uint8_t  d0,
uint8_t  d1,
uint8_t  d2,
uint8_t  d3 
)

4 bit LCD constructors. Defines the pin assignment that the LCD will have. The constructor does not initialize the LCD.

Definition at line 64 of file LiquidCrystal.cpp.

LiquidCrystal::LiquidCrystal ( uint8_t  rs,
uint8_t  enable,
uint8_t  d0,
uint8_t  d1,
uint8_t  d2,
uint8_t  d3 
)

Definition at line 70 of file LiquidCrystal.cpp.


Member Function Documentation

void LiquidCrystal::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:
valueValue to send to the LCD.
Returns:
mode LOW - write to the LCD CGRAM, HIGH - write a command to the LCD.

Reimplemented from LCD.

Definition at line 84 of file LiquidCrystal.cpp.

void LiquidCrystal::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:
mode,:backlight mode (HIGH|LOW)

Reimplemented from LCD.

Definition at line 109 of file LiquidCrystal.cpp.

void LiquidCrystal::setBacklightPin ( uint8_t  pin) [virtual]

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

Parameters:
mode,:backlight mode (HIGH|LOW)

Reimplemented from LCD.

Definition at line 119 of file LiquidCrystal.cpp.


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