成功移植lvgl

This commit is contained in:
2026-02-19 02:53:47 +08:00
parent ee80965d58
commit 452ec672b1
11 changed files with 1987 additions and 79 deletions
+11 -10
View File
@@ -13,21 +13,22 @@
#define LCD_WW 320
#define LCD_HH 240
typedef struct{
uint16_t buf[LCD_WW*LCD_HH];
uint16_t fps_count;
uint16_t fps;
}lcd_t;
// typedef struct{
// uint16_t buf[LCD_WW*LCD_HH];
// uint16_t fps_count;
// uint16_t fps;
// }lcd_t;
extern lcd_t lcd_main;
// extern lcd_t lcd_main;
void LCD_Address_Set(uint16_t x1,uint16_t y1,uint16_t x2,uint16_t y2);
void lcd_set_window(uint16_t x1,uint16_t y1,uint16_t x2,uint16_t y2);
esp_err_t lcd_spi_send_data_any(uint8_t *data, uint32_t len);
void lcd_init();
void lcd_clear_buf(uint16_t Color);
void lcd_send_full_buf();
void lcd_one_second_task();
// void lcd_clear_buf(uint16_t Color);
// void lcd_send_full_buf();
// void lcd_one_second_task();
#endif