![]() |
LCD Library 1.3.0
LCD Library - LCD control class hierarchy library. Drop in replacement for the LiquidCrystal Library.
|
#include <LiquidCrystal_SR1W.h>
Public Member Functions | |
LiquidCrystal_SR1W (uint8_t srdata, t_sr1w_circuitType circuitType, t_backlighPol blpol=POSITIVE) | |
virtual void | send (uint8_t value, uint8_t mode) |
void | setBacklight (uint8_t mode) |
Definition at line 299 of file LiquidCrystal_SR1W.h.
LiquidCrystal_SR1W::LiquidCrystal_SR1W | ( | uint8_t | srdata, |
t_sr1w_circuitType | circuitType, | ||
t_backlighPol | blpol = POSITIVE |
||
) |
LCD 1 wire SHIFT REGISTER constructor. Defines the pin assignments that connect to the shift register. The constructor does not initialize the LCD. Assuming 1 line 8 pixel high font.
srdata[in] | Arduino pin for shift register. |
circuitType[in] | optionally select an alternate circuit type |
blpol[in] | optional backlight polarity (default = POSITIVE) |
Definition at line 40 of file LiquidCrystal_SR1W.cpp.
void LiquidCrystal_SR1W::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. |
mode[in] | DATA=8bit data, COMMAND=8bit cmd, FOUR_BITS=4bit cmd the LCD. |
Reimplemented from LCD.
Definition at line 194 of file LiquidCrystal_SR1W.cpp.
void LiquidCrystal_SR1W::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[in] | backlight mode (0 off, non-zero on) |
Reimplemented from LCD.
Definition at line 235 of file LiquidCrystal_SR1W.cpp.