Alphanumeric LCD Library for Arduino  1.0.4
LCD Control library for Arduino
 All Classes Files Functions Variables Macros Pages
/Volumes/John Doe/Firmware/Arduino LIbraries/AlphaLCD/AlphaLCD.h File Reference

AlphaLCD, allows the LCD to be operated via a shift register. More...

#include <inttypes.h>
#include "Print.h"

Go to the source code of this file.

Classes

class  AlphaLCD
 

Macros

#define LCD_CLEARDISPLAY   0x01
 
#define LCD_RETURNHOME   0x02
 
#define LCD_ENTRYMODESET   0x04
 
#define LCD_DISPLAYCONTROL   0x08
 
#define LCD_CURSORSHIFT   0x10
 
#define LCD_FUNCTIONSET   0x20
 
#define LCD_SETCGRAMADDR   0x40
 
#define LCD_SETDDRAMADDR   0x80
 
#define LCD_ENTRYRIGHT   0x00
 
#define LCD_ENTRYLEFT   0x02
 
#define LCD_ENTRYSHIFTINCREMENT   0x01
 
#define LCD_ENTRYSHIFTDECREMENT   0x00
 
#define LCD_DISPLAYON   0x04
 
#define LCD_DISPLAYOFF   0x00
 
#define LCD_CURSORON   0x02
 
#define LCD_CURSOROFF   0x00
 
#define LCD_BLINKON   0x01
 
#define LCD_BLINKOFF   0x00
 
#define LCD_DISPLAYMOVE   0x08
 
#define LCD_CURSORMOVE   0x00
 
#define LCD_MOVERIGHT   0x04
 
#define LCD_MOVELEFT   0x00
 
#define LCD_8BITMODE   0x10
 
#define LCD_4BITMODE   0x00
 
#define LCD_2LINE   0x08
 
#define LCD_1LINE   0x00
 
#define LCD_5x10DOTS   0x04
 
#define LCD_5x8DOTS   0x00
 
#define LCD_RS_PIN   0x01
 
#define LCD_EN_PIN   0x02
 
#define LCD_BL_PIN   0x04
 

Detailed Description

AlphaLCD, allows the LCD to be operated via a shift register.

Definition in file AlphaLCD.h.

Macro Definition Documentation

#define LCD_1LINE   0x00

Definition at line 57 of file AlphaLCD.h.

Referenced by AlphaLCD::init().

#define LCD_2LINE   0x08

Definition at line 56 of file AlphaLCD.h.

Referenced by AlphaLCD::begin().

#define LCD_4BITMODE   0x00

Definition at line 55 of file AlphaLCD.h.

Referenced by AlphaLCD::init().

#define LCD_5x10DOTS   0x04

Definition at line 58 of file AlphaLCD.h.

Referenced by AlphaLCD::begin().

#define LCD_5x8DOTS   0x00

Definition at line 59 of file AlphaLCD.h.

Referenced by AlphaLCD::init().

#define LCD_8BITMODE   0x10

Definition at line 54 of file AlphaLCD.h.

Referenced by AlphaLCD::begin(), and AlphaLCD::send().

#define LCD_BL_PIN   0x04

Definition at line 63 of file AlphaLCD.h.

Referenced by AlphaLCD::init().

#define LCD_BLINKOFF   0x00

Definition at line 47 of file AlphaLCD.h.

Referenced by AlphaLCD::begin().

#define LCD_BLINKON   0x01

Definition at line 46 of file AlphaLCD.h.

Referenced by AlphaLCD::blink(), and AlphaLCD::noBlink().

#define LCD_CLEARDISPLAY   0x01

Definition at line 28 of file AlphaLCD.h.

Referenced by AlphaLCD::clear().

#define LCD_CURSORMOVE   0x00

Definition at line 50 of file AlphaLCD.h.

#define LCD_CURSOROFF   0x00

Definition at line 45 of file AlphaLCD.h.

Referenced by AlphaLCD::begin().

#define LCD_CURSORON   0x02

Definition at line 44 of file AlphaLCD.h.

Referenced by AlphaLCD::cursor(), and AlphaLCD::noCursor().

#define LCD_CURSORSHIFT   0x10

Definition at line 32 of file AlphaLCD.h.

Referenced by AlphaLCD::scrollDisplayLeft(), and AlphaLCD::scrollDisplayRight().

#define LCD_DISPLAYCONTROL   0x08
#define LCD_DISPLAYMOVE   0x08

Definition at line 49 of file AlphaLCD.h.

Referenced by AlphaLCD::scrollDisplayLeft(), and AlphaLCD::scrollDisplayRight().

#define LCD_DISPLAYOFF   0x00

Definition at line 43 of file AlphaLCD.h.

#define LCD_DISPLAYON   0x04

Definition at line 42 of file AlphaLCD.h.

Referenced by AlphaLCD::begin(), AlphaLCD::display(), and AlphaLCD::noDisplay().

#define LCD_EN_PIN   0x02

Definition at line 62 of file AlphaLCD.h.

#define LCD_ENTRYLEFT   0x02

Definition at line 38 of file AlphaLCD.h.

Referenced by AlphaLCD::begin(), AlphaLCD::leftToRight(), and AlphaLCD::rightToLeft().

#define LCD_ENTRYMODESET   0x04
#define LCD_ENTRYRIGHT   0x00

Definition at line 37 of file AlphaLCD.h.

#define LCD_ENTRYSHIFTDECREMENT   0x00

Definition at line 40 of file AlphaLCD.h.

Referenced by AlphaLCD::begin().

#define LCD_ENTRYSHIFTINCREMENT   0x01

Definition at line 39 of file AlphaLCD.h.

Referenced by AlphaLCD::autoscroll(), and AlphaLCD::noAutoscroll().

#define LCD_FUNCTIONSET   0x20

Definition at line 33 of file AlphaLCD.h.

Referenced by AlphaLCD::begin().

#define LCD_MOVELEFT   0x00

Definition at line 52 of file AlphaLCD.h.

Referenced by AlphaLCD::scrollDisplayLeft().

#define LCD_MOVERIGHT   0x04

Definition at line 51 of file AlphaLCD.h.

Referenced by AlphaLCD::scrollDisplayRight().

#define LCD_RETURNHOME   0x02

Definition at line 29 of file AlphaLCD.h.

Referenced by AlphaLCD::home().

#define LCD_RS_PIN   0x01

Definition at line 61 of file AlphaLCD.h.

Referenced by AlphaLCD::write4bits().

#define LCD_SETCGRAMADDR   0x40

Definition at line 34 of file AlphaLCD.h.

Referenced by AlphaLCD::createChar().

#define LCD_SETDDRAMADDR   0x80

Definition at line 35 of file AlphaLCD.h.

Referenced by AlphaLCD::setCursor().