Synergia AVR 0.1

LCD Class Reference

#include <lcd.h>

List of all members.

Public Member Functions

 LCD ()
void cmd (unsigned char c)
void clear ()
void gotoxy (unsigned char x, unsigned char y)
void define (const unsigned char *dfn, unsigned char code)
void shift (char n)
void cursorOn ()
void cursorOff ()
void cursorBlink ()
void blank ()
void visible ()
LCDoperator<< (const unsigned char c)
LCDoperator<< (const char c)
LCDoperator<< (const char *string)
LCDoperator<< (char *string)
LCDoperator<< (const int number)
LCDoperator<< (const long number)
LCDoperator<< (const unsigned int number)
 LCD ()
void cmd (unsigned char c)
void clear ()
void gotoxy (unsigned char x, unsigned char y)
void define (const unsigned char *dfn, unsigned char code)
void shift (char n)
void cursorOn ()
void cursorOff ()
void cursorBlink ()
void blank ()
void visible ()
LCDoperator<< (const unsigned char c)
LCDoperator<< (const char c)
LCDoperator<< (const char *string)
LCDoperator<< (char *string)
LCDoperator<< (const int number)
LCDoperator<< (const long number)

Detailed Description

74HC164 LCD display interface

Definition at line 64 of file lcd.h.


Constructor & Destructor Documentation

LCD::LCD ( )

Default constructor. Initializes display

Definition at line 70 of file lcd.cpp.

LCD::LCD ( )

Default constructor. Initializes display


Member Function Documentation

void LCD::blank ( )

Makes display blank, but does not clear it

Definition at line 213 of file lcd.cpp.

void LCD::blank ( )

Makes display blank, but does not clear it

void LCD::clear ( )

Clears display

Definition at line 172 of file lcd.cpp.

void LCD::clear ( )

Clears display

void LCD::cmd ( unsigned char  c)

Sends command to display

Parameters:
c- command

Definition at line 157 of file lcd.cpp.

void LCD::cmd ( unsigned char  c)

Sends command to display

Parameters:
c- command
void LCD::cursorBlink ( )

Blink cursor

Definition at line 209 of file lcd.cpp.

void LCD::cursorBlink ( )

Blink cursor

void LCD::cursorOff ( )

Turns off cursor

void LCD::cursorOff ( )

Turns off cursor

Definition at line 205 of file lcd.cpp.

void LCD::cursorOn ( )

Turns on cursor

void LCD::cursorOn ( )

Turns on cursor

Definition at line 201 of file lcd.cpp.

void LCD::define ( const unsigned char *  dfn,
unsigned char  code 
)

Defines custom character

Parameters:
dfn- character description table
code- character code

Definition at line 187 of file lcd.cpp.

void LCD::define ( const unsigned char *  dfn,
unsigned char  code 
)

Defines custom character

Parameters:
dfn- character description table
code- character code
void LCD::gotoxy ( unsigned char  x,
unsigned char  y 
)

Moves cursor to X Y position

Parameters:
x- x position
y- y position
void LCD::gotoxy ( unsigned char  x,
unsigned char  y 
)

Moves cursor to X Y position

Parameters:
x- x position
y- y position

Definition at line 176 of file lcd.cpp.

LCD& LCD::operator<< ( char *  string)

Sends string to LCD

Parameters:
string- string (char* pointer)
Returns:
LCD object
LCD& LCD::operator<< ( const char  c)

Sends char to LCD

Parameters:
c- character
Returns:
LCD object
LCD & LCD::operator<< ( const long  number)

Sends number to LCD

Parameters:
number- long number
Returns:
LCD object

Definition at line 262 of file lcd.cpp.

LCD & LCD::operator<< ( const int  number)

Sends number to LCD

Parameters:
number- integer number
Returns:
LCD object

Definition at line 252 of file lcd.cpp.

LCD & LCD::operator<< ( char *  string)

Sends string to LCD

Parameters:
string- string (char* pointer)
Returns:
LCD object

Definition at line 247 of file lcd.cpp.

LCD & LCD::operator<< ( const char *  string)

Sends char to LCD

Parameters:
string- string constant
Returns:
LCD object

Definition at line 241 of file lcd.cpp.

LCD & LCD::operator<< ( const unsigned int  number)

Definition at line 257 of file lcd.cpp.

LCD& LCD::operator<< ( const unsigned char  c)

Sends unsigned char to lcd

Parameters:
c- character
Returns:
LCD object
LCD& LCD::operator<< ( const char *  string)

Sends char to LCD

Parameters:
string- string constant
Returns:
LCD object
LCD & LCD::operator<< ( const unsigned char  c)

Sends unsigned char to lcd

Parameters:
c- character
Returns:
LCD object

Definition at line 221 of file lcd.cpp.

LCD& LCD::operator<< ( const int  number)

Sends number to LCD

Parameters:
number- integer number
Returns:
LCD object
LCD& LCD::operator<< ( const long  number)

Sends number to LCD

Parameters:
number- long number
Returns:
LCD object
LCD & LCD::operator<< ( const char  c)

Sends char to LCD

Parameters:
c- character
Returns:
LCD object

Definition at line 236 of file lcd.cpp.

void LCD::shift ( char  n)

Shifts cursor n positions

if n > 0 - shift right else - shift left

Parameters:
n- number of positions
void LCD::shift ( char  n)

Shifts cursor n positions

if n > 0 - shift right else - shift left

Parameters:
n- number of positions

Definition at line 196 of file lcd.cpp.

void LCD::visible ( )

Makes display visible

Definition at line 217 of file lcd.cpp.

void LCD::visible ( )

Makes display visible


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