ESP32-WROVER-KIT-LCD-DRIVER/main/LCD.h

31 lines
508 B
C

/*! @file LCD.h
@brief
@author Hendrik Schutter
@version V1.0
@date 03.11.2020
*/
#ifndef __LCD_H
#define __LCD_H
#include <stdio.h>
#include <stdlib.h>
#include "driver/spi_master.h"
#include "driver/gpio.h"
#include <string.h>
#include "esp_system.h"
#define COLOR_RED 0xF800
#define COLOR_GREEN 0x07E0
#define COLOR_BLUE 0x001F
#define COLOR_WHITE 0xFFFF
#define COLOR_BLACK 0x0000
esp_err_t iLCD_init(void);
esp_err_t iLCD_clearFramebuffer(uint16_t u16Color);
#endif /* __LCD_H */