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

LCD display Manager include file. More...

#include <inttypes.h>
#include <Print.h>
#include <AlphaLCD.h>
#include <Streaming.h>

Go to the source code of this file.

Classes

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

Macros

#define LCDclockPin   2
 LCD Shift control pin - Clock signal Define this value accordingly with the Arduino board connections. More...
 
#define LCDlatchPin   3
 LCD Shift control pin - Latch signal Define this value accordingly with the Arduino board connections. More...
 
#define LCDdataPin   4
 LCD Shift control pin - Data signal Define this value accordingly with the Arduino board connections. More...
 
#define LCDCHARS   16
 Display characters per line Define this value accordingly with the LCD Hardware datasheet. More...
 
#define LCDROWS   2
 Display rows. More...
 
#define LCDTOPROW   0
 The top row number of the LCD. More...
 
#define LCDBOTTOMROW   1
 The bottom row number of the LCD. More...
 
#define LCD_SECTOR1   0
 Top Left display sector column. More...
 
#define LCD_SECTOR2   LCDCHARS / 2
 Top Right display sector column. More...
 
#define LCD_SECTOR3   0
 Bottom Left display sector column. More...
 
#define LCD_SECTOR4   LCDCHARS / 2
 Bottom Right display sector column. More...
 
#define LCDERROR_DELAY   3000
 Delay after showing an error. More...
 
#define LCDMESSAGE_DELAY   2000
 Delay after showing a temporary message e.g. the welcome screen. More...
 
#define LCDCLEAR_DELAY   100
 Delay after a clear display call to hardware has been done. More...
 

Detailed Description

LCD display Manager include file.

Methods to manage the LCD output and display features, including some hard-coded strings like the welcome message.

Definition in file LCD.h.

Macro Definition Documentation

#define LCD_SECTOR1   0

Top Left display sector column.

Definition at line 35 of file LCD.h.

Referenced by menu().

#define LCD_SECTOR2   LCDCHARS / 2

Top Right display sector column.

Definition at line 37 of file LCD.h.

Referenced by menu().

#define LCD_SECTOR3   0

Bottom Left display sector column.

Definition at line 39 of file LCD.h.

Referenced by menu().

#define LCD_SECTOR4   LCDCHARS / 2

Bottom Right display sector column.

Definition at line 41 of file LCD.h.

Referenced by menu().

#define LCDBOTTOMROW   1

The bottom row number of the LCD.

Definition at line 33 of file LCD.h.

Referenced by menu(), and welcome().

#define LCDCHARS   16

Display characters per line Define this value accordingly with the LCD Hardware datasheet.

Definition at line 27 of file LCD.h.

Referenced by setup().

#define LCDCLEAR_DELAY   100

Delay after a clear display call to hardware has been done.

Definition at line 48 of file LCD.h.

Referenced by clean().

#define LCDclockPin   2

LCD Shift control pin - Clock signal Define this value accordingly with the Arduino board connections.

Definition at line 18 of file LCD.h.

#define LCDdataPin   4

LCD Shift control pin - Data signal Define this value accordingly with the Arduino board connections.

Definition at line 24 of file LCD.h.

#define LCDERROR_DELAY   3000

Delay after showing an error.

Definition at line 44 of file LCD.h.

Referenced by error().

#define LCDlatchPin   3

LCD Shift control pin - Latch signal Define this value accordingly with the Arduino board connections.

Definition at line 21 of file LCD.h.

#define LCDMESSAGE_DELAY   2000

Delay after showing a temporary message e.g. the welcome screen.

Definition at line 46 of file LCD.h.

Referenced by welcome().

#define LCDROWS   2

Display rows.

Definition at line 29 of file LCD.h.

Referenced by setup().

#define LCDTOPROW   0

The top row number of the LCD.

Definition at line 31 of file LCD.h.

Referenced by menu(), and welcome().