LCDGFX LCD display driver  1.1.5
This library is developed to control SSD1306/SSD1325/SSD1327/SSD1331/SSD1351/IL9163/PCD8554 RGB i2c/spi LED displays
InterfaceAny Class Reference

#include <lcd_any.h>

Public Member Functions

 InterfaceAny (DisplayInterface &intf)
 
void startBlock (lcduint_t x, lcduint_t y, lcduint_t w)
 Sets block in RAM of lcd display controller to write data to. More...
 
void nextBlock ()
 
void endBlock ()
 
void send (uint8_t data)
 

Detailed Description

Class implements custom interface functions for custom displays

Definition at line 83 of file lcd_any.h.

Constructor & Destructor Documentation

◆ InterfaceAny()

InterfaceAny::InterfaceAny ( DisplayInterface intf)
inlineexplicit

Creates instance of interface to LCD display.

Parameters
intfDisplayInterface object

Definition at line 91 of file lcd_any.h.

Member Function Documentation

◆ endBlock()

void InterfaceAny::endBlock ( )
inline

Closes data send operation to lcd display.

Definition at line 126 of file lcd_any.h.

◆ nextBlock()

void InterfaceAny::nextBlock ( )
inline

Switches to the start of next RAM page for the block, specified by startBlock().

Definition at line 118 of file lcd_any.h.

◆ send()

void InterfaceAny::send ( uint8_t  data)
inline

Sends byte to display device

Parameters
data- byte to send

Definition at line 135 of file lcd_any.h.

◆ startBlock()

void InterfaceAny::startBlock ( lcduint_t  x,
lcduint_t  y,
lcduint_t  w 
)
inline

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().

Definition at line 109 of file lcd_any.h.


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