LCD-ESP32-Driver 1.0
Project includes component for controlling LCD displays. Currently supports only one LCD controller - SSD1283A but it may change in the future.
Loading...
Searching...
No Matches
LCD_image_t Struct Reference

Describes properties of the image to be drawn on LCD display. More...

#include <lcd_image.h>

Data Fields

const uint16_t width
 
const uint16_t height
 
const uint8_t * pixels
 

Detailed Description

Describes properties of the image to be drawn on LCD display.

Field Documentation

◆ height

const uint16_t height

Height of the image in pixels

◆ pixels

const uint8_t* pixels

Pointer to array of the image pixels. Each element of the array is interpreted as single byte of the RGB565 color (the most significant byte first). Order of the pixels should be kept horizontally from the left top corner to the right bottom corner of the image. Total size of the array should be equal 2 times the width and height of the image.

◆ width

const uint16_t width

Width of the image in pixels


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