first commit
This commit is contained in:
commit
0ef2017d18
28 files changed
+1882
No files matched your search
@@ -0,0 +1,21 @@
|
||||
#ifndef DISPLAY_RGB_H
|
||||
#define DISPLAY_RGB_H
|
||||
|
||||
#include <stdbool.h>
|
||||
#include "esp_err.h"
|
||||
#include "esp_lcd_panel_ops.h"
|
||||
#include "lvgl.h"
|
||||
|
||||
#define DISPLAY_H_RES 800
|
||||
#define DISPLAY_V_RES 480
|
||||
|
||||
/* Requires lv_init() to have already run -- call lvgl_port_init() first.
|
||||
* Backlight is NOT owned here on the Advance; see drivers/backlight. */
|
||||
esp_err_t display_init(void);
|
||||
|
||||
lv_display_t *display_get_default(void);
|
||||
|
||||
/* Underlying esp_lcd panel, for drawing that bypasses LVGL. */
|
||||
esp_lcd_panel_handle_t display_get_panel(void);
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user