AlphaLCD helper for Arduino  1.0.4
LCD helper example for Arduino with AlphaLCD and Streaming library
 All Classes Files Functions Variables Macros
LCD Class Reference

Manages the Alphanumeric display for program output messages. More...

#include "LCD.h"

+ Inheritance diagram for LCD:

Public Member Functions

 LCD ()
 
 ~LCD ()
 
void enable (bool s)
 Set the display on or off. More...
 
void blink (bool set)
 Set blink mode. More...
 
void error (String m)
 shows an error message More...
 
void error (String m, int x, int y)
 shows an error message at specified coordinates More...
 
void message (String m)
 shows a string message More...
 
void message (String m, int x, int y)
 shows a string message at specified coordinates More...
 
void clean ()
 clean the LCD screen More...
 
void dec (int n)
 shows an integer in decimal format More...
 
void hex (int n)
 shows an integer in hexadeciaml format More...
 
void bin (int n)
 shows an integer in binary format More...
 
void oct (int n)
 shows an integer in octal format More...
 
void welcome ()
 shows the program welcome message More...
 
void menu (String sect1, String sect2, String sect3, String sect4)
 

Private Member Functions

 LCD (const LCD &c)
 
LCDoperator= (const LCD &c)
 

Private Attributes

AlphaLCD lcd
 AlphaLCD class inherited instance. More...
 

Detailed Description

Manages the Alphanumeric display for program output messages.

This class implements the AlphaLCD class that manages the Alphanumeric LCD display hardware using three digital Arduino pins via a shift-out register.

Definition at line 56 of file LCD.h.

Constructor & Destructor Documentation

LCD::LCD ( )
LCD::~LCD ( )
LCD::LCD ( const LCD c)
private

Member Function Documentation

void LCD::bin ( int  n)

shows an integer in binary format

void LCD::blink ( bool  set)

Set blink mode.

void LCD::clean ( )

clean the LCD screen

void LCD::dec ( int  n)

shows an integer in decimal format

void LCD::enable ( bool  s)

Set the display on or off.

void LCD::error ( String  m)

shows an error message

void LCD::error ( String  m,
int  x,
int  y 
)

shows an error message at specified coordinates

void LCD::hex ( int  n)

shows an integer in hexadeciaml format

void LCD::menu ( String  sect1,
String  sect2,
String  sect3,
String  sect4 
)
void LCD::message ( String  m)

shows a string message

void LCD::message ( String  m,
int  x,
int  y 
)

shows a string message at specified coordinates

void LCD::oct ( int  n)

shows an integer in octal format

LCD& LCD::operator= ( const LCD c)
private
void LCD::welcome ( )

shows the program welcome message

Member Data Documentation

AlphaLCD LCD::lcd
private

AlphaLCD class inherited instance.

Definition at line 61 of file LCD.h.


The documentation for this class was generated from the following file: