![]() |
LCD Library 1.1.7
LCD Library - LCD control class hierarchy library. Drop in replacement for the LiquidCrystal Library.
|
#include <LiquidCrystal_SR.h>
Public Member Functions | |
virtual void | begin (uint8_t cols, uint8_t rows, uint8_t charsize=LCD_5x8DOTS) |
LiquidCrystal_SR (uint8_t srdata, uint8_t srclock, uint8_t enable) | |
virtual void | send (uint8_t value, uint8_t mode) |
Definition at line 90 of file LiquidCrystal_SR.h.
LiquidCrystal_SR::LiquidCrystal_SR | ( | uint8_t | srdata, |
uint8_t | srclock, | ||
uint8_t | enable | ||
) |
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] | enable pin for the shiftregister. |
Definition at line 115 of file LiquidCrystal_SR.cpp.
void LiquidCrystal_SR::begin | ( | uint8_t | cols, |
uint8_t | rows, | ||
uint8_t | charsize = LCD_5x8DOTS |
||
) | [virtual] |
LCD initialization. Initializes the LCD to a given size (col, row). This methods initializes the LCD, therefore, it MUST be called prior to using any other method from this class or parent class.
cols[in] | the number of columns that the display has |
rows[in] | the number of rows that the display has |
charsize[in] | size of the characters of the LCD: LCD_5x8DOTS or LCD_5x10DOTS. |
Reimplemented from LCD.
Definition at line 157 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 211 of file LiquidCrystal_SR.cpp.