JeeLib
An easy interface to the port headers, the RF12 driver library, timers, low-power code, and more.
 All Classes Files Functions Variables Enumerations Macros Pages
PortsLCD.h File Reference

LiquidCrystal library, extended for use over I2C with the LCD Plug. More...

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

Go to the source code of this file.

Classes

class  LiquidCrystalBase
 Base class for different types of interfaces to character LCD's. More...
 
class  LiquidCrystal
 Interface to character LCD's connected via 4 to 8 I/O pins. More...
 
class  LiquidCrystalI2C
 Interface to character LCD's connected via 2 I/O pins using software I2C. More...
 

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
 

Detailed Description

LiquidCrystal library, extended for use over I2C with the LCD Plug.

See https://jeelabs.org/2009/09/26/generalized-liquidcrystal-library/