Interface to character LCD's connected via 2 I/O pins using software I2C. More...
#include <PortsLCD.h>
Public Member Functions | |
| LiquidCrystalI2C (const PortI2C &p, byte addr=0x24) | |
| void | backlight () |
| void | noBacklight () |
Public Member Functions inherited from LiquidCrystalBase | |
| void | begin (byte cols, byte rows, byte charsize=LCD_5x8DOTS) |
| void | clear () |
| void | home () |
| void | noDisplay () |
| Turn the display on/off (quickly) | |
| void | display () |
| void | noBlink () |
| Turn on and off the blinking cursor. | |
| void | blink () |
| void | noCursor () |
| Turns the underline cursor on/off. | |
| void | cursor () |
| void | scrollDisplayLeft () |
| These commands scroll the display without changing the RAM. | |
| void | scrollDisplayRight () |
| void | leftToRight () |
| This is for text that flows Left to Right. | |
| void | rightToLeft () |
| This is for text that flows Right to Left. | |
| void | autoscroll () |
| This will 'right justify' text from the cursor. | |
| void | noAutoscroll () |
| This will 'left justify' text from the cursor. | |
| void | createChar (byte, byte[]) |
| Allows us to fill the first 8 CGRAM locations with custom characters. | |
| void | setCursor (byte, byte) |
| virtual WRITE_RESULT | write (byte) |
| void | command (byte) |
Protected Member Functions | |
| virtual void | config () |
| virtual void | send (byte, byte) |
| write either command or data, with automatic 4/8-bit selection | |
| virtual void | write4bits (byte) |
Additional Inherited Members | |
Protected Attributes inherited from LiquidCrystalBase | |
| byte | _displayfunction |
| byte | _displaycontrol |
| byte | _displaymode |
| byte | _initialized |
| byte | _numlines |
| byte | _currline |
Interface to character LCD's connected via 2 I/O pins using software I2C.
This class allows driving an LCD connected via I2C using an LCD Plug, which is in turn based on an MCP23008 I2C I/O expander chip and some other parts. The available functions include all those of the LiquidCrystal class.