Base class for different types of interfaces to character LCD's. More...
#include <PortsLCD.h>
Public Member Functions | |
| 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 ()=0 |
| virtual void | send (byte, byte)=0 |
| virtual void | write4bits (byte)=0 |
Protected Attributes | |
| byte | _displayfunction |
| byte | _displaycontrol |
| byte | _displaymode |
| byte | _initialized |
| byte | _numlines |
| byte | _currline |
Base class for different types of interfaces to character LCD's.
This class defines the basic functionality needed to drive an LCD display. It is an incomplete (abstract) base class, which needs to be extended. See the LiquidCrystal and LiquidCrystalI2C classes for two usable versions.