Add Schmitt SPI display driver
This commit is contained in:
parent
26fe6e7703
commit
8592cb9d29
9 changed files with 72 additions and 3 deletions
20
lvgl_tft/schmitt.h
Normal file
20
lvgl_tft/schmitt.h
Normal file
|
@ -0,0 +1,20 @@
|
|||
#ifndef SCHMITT_H_
|
||||
#define SCHMITT_H_
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#ifdef LV_LVGL_H_INCLUDE_SIMPLE
|
||||
#include "lvgl.h"
|
||||
#else
|
||||
#include "lvgl/lvgl.h"
|
||||
#endif
|
||||
#include "../lvgl_helpers.h"
|
||||
|
||||
#define LV_HOR_RES_MAX 64
|
||||
#define LV_VER_RES_MAX 64
|
||||
|
||||
void schmitt_init(void);
|
||||
|
||||
void schmitt_flush(lv_disp_drv_t * drv, const lv_area_t * area, lv_color_t * color_map);
|
||||
|
||||
#endif /* SCHMITT_H_ */
|
Loading…
Add table
Add a link
Reference in a new issue