#include <stdio.h>
#include <stdlib.h>
#include "driver/spi_master.h"
#include "driver/gpio.h"
#include <string.h>
#include "esp_system.h"
Go to the source code of this file.
- Author
- Hendrik Schutter
- Version
- V1.0
- Date
- 03.11.2020
◆ COLOR_BLACK
#define COLOR_BLACK 0x0000 |
◆ COLOR_BLUE
#define COLOR_BLUE 0x001F |
◆ COLOR_GREEN
#define COLOR_GREEN 0x07E0 |
◆ COLOR_RED
◆ COLOR_WHITE
#define COLOR_WHITE 0xFFFF |
◆ iLCD_clearFramebuffer()
esp_err_t iLCD_clearFramebuffer |
( |
uint16_t |
u16Color | ) |
|
clear complete framebuffer with a color
- Parameters
-
- Returns
- esp error code
- Author
- Hendrik Schutter
- Date
- 3.11.2020
◆ iLCD_init()
esp_err_t iLCD_init |
( |
void |
| ) |
|
init
- Parameters
-
- Returns
- int
- Author
- Hendrik Schutter
- Date
- 3.11.2020
◆ iLCD_writeString()
esp_err_t iLCD_writeString |
( |
uint16_t |
u16xPos, |
|
|
uint16_t |
u16yPos, |
|
|
char * |
pcText, |
|
|
uint16_t |
u16ColorFont, |
|
|
uint16_t |
u16ColorBackground |
|
) |
| |
write string/text into framebuffer
- Parameters
-
uint16_t | u16xPos |
uint16_t | u16yPos |
char | *pcText |
RGB586 | color code for font uint16_t u16ColorFont |
RGB586 | color code for background uint16_t u16ColorBackground |
- Returns
- esp error code
- Author
- Hendrik Schutter
- Date
- 4.11.2020