AVRTools
A Library for the AVR ATmega328 and ATmega2560 Microcontrollers
Classes
I2cLcd.h File Reference

This file defines a class that provides a high-level interface to an LCD offering an I2C interface. The most common variant of this is HD44780U controlled LCD driven via an MCP23017 that offers an I2C interface (such LCDs are available from Adafruit and SparkFun). To use this class you must also use and properly initialize the I2C Master package from I2cMaster.h. More...

#include <inttypes.h>
#include "Writer.h"
Include dependency graph for I2cLcd.h:

Go to the source code of this file.

Classes

class  I2cLcd
 This class provides a high-level interface via I2C to an LCD such as those offered by AdaFruit and SparkFun. Specifically, it communicates via I2C with an MCP23017 that drives an HD44780U controlling an LCD. It also lets you detect button presses on the 5-button keypad generally assocaited with such devices. More...
 

Detailed Description

This file defines a class that provides a high-level interface to an LCD offering an I2C interface. The most common variant of this is HD44780U controlled LCD driven via an MCP23017 that offers an I2C interface (such LCDs are available from Adafruit and SparkFun). To use this class you must also use and properly initialize the I2C Master package from I2cMaster.h.

To use these features, include I2cLcd.h in your source code and link against I2cLcd.cpp and I2cMaster.cpp.