LCDGFX LCD display driver  1.2.0
Lightweight graphics library for SSD1306, SSD1325, SSD1327, SSD1331, SSD1351, SH1106, SH1107, IL9163, ST7735, ST7789, ILI9341, PCD8544 displays over I2C/SPI
DisplayInterface Class Referenceabstract

Interface to custom display commnucation. More...

#include <lcd_any.h>

Inheritance diagram for DisplayInterface:

Public Member Functions

virtual void startBlock (lcduint_t x, lcduint_t y, lcduint_t w)=0
 Sets block in RAM of lcd display controller to write data to. More...
 
virtual void nextBlock ()
 Switches to the start of next RAM page for the block, specified by startBlock().
 
virtual void endBlock ()=0
 Closes data send operation to lcd display.
 
virtual void send (uint8_t data)=0
 Sends byte to display device. More...
 

Detailed Description

Interface to custom display commnucation.

Definition at line 42 of file lcd_any.h.

Member Function Documentation

◆ send()

virtual void DisplayInterface::send ( uint8_t  data)
pure virtual

Sends byte to display device.

Parameters
data- byte to send

◆ startBlock()

virtual void DisplayInterface::startBlock ( lcduint_t  x,
lcduint_t  y,
lcduint_t  w 
)
pure virtual

Sets block in RAM of lcd display controller to write data to.

Sets block in RAM of lcd display controller to write data to. Width can be specified as 0, thus the library will set the right boundary to region of RAM block to the right column of the display.

Parameters
x- column (left region)
y- row (top region)
w- width of the block in pixels to control
Warning
- this function initiates session (i2c or spi) and does not close it. To close session, please, call endBlock().

The documentation for this class was generated from the following file: