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.
|
Contains representation of the images to be drawn on LCD display and methods that simplify the work with them. More...
#include <stdint.h>
#include <stdbool.h>
Go to the source code of this file.
Data Structures | |
struct | LCD_image_t |
Describes properties of the image to be drawn on LCD display. More... | |
Typedefs | |
typedef struct LCD_image_t | LCD_image_t |
Functions | |
bool | lcd_image_get_pixel (const LCD_image_t *const image, const uint16_t x, const uint16_t y, uint16_t *const pixelOut) |
Gets pixel (color value) from specific position of the image. More... | |
Contains representation of the images to be drawn on LCD display and methods that simplify the work with them.
bool lcd_image_get_pixel | ( | const LCD_image_t *const | image, |
const uint16_t | x, | ||
const uint16_t | y, | ||
uint16_t *const | pixelOut | ||
) |
Gets pixel (color value) from specific position of the image.
image | Pointer to the selected image |
x | Position of the pixel in X-axis |
y | Position of the pixel in Y-axis |
pixelOut | Pointer to variable where value of the pixel will be stored |