CYD HomeBoard: Home-Assistant-Dashboard für ESP32-2432S028R
LVGL-Oberfläche mit Heizungs- und Licht-Tab, Steuerung über die Home-Assistant-REST-API, NTP-Uhr und Display-Timeout. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
commit
aec613de9f
6 files changed
+618
No files matched your search
@@ -0,0 +1,31 @@
|
||||
// Minimal LVGL 8.3 configuration for the CYD. Everything not set here uses LVGL defaults.
|
||||
#if 1
|
||||
#ifndef LV_CONF_H
|
||||
#define LV_CONF_H
|
||||
|
||||
#define LV_COLOR_DEPTH 16
|
||||
#define LV_COLOR_16_SWAP 0 // swapping happens in TFT_eSPI::pushColors
|
||||
|
||||
#define LV_MEM_CUSTOM 0
|
||||
#define LV_MEM_SIZE (48U * 1024U)
|
||||
|
||||
#define LV_TICK_CUSTOM 1
|
||||
#define LV_TICK_CUSTOM_INCLUDE "Arduino.h"
|
||||
#define LV_TICK_CUSTOM_SYS_TIME_EXPR (millis())
|
||||
|
||||
#define LV_DISP_DEF_REFR_PERIOD 20
|
||||
#define LV_INDEV_DEF_READ_PERIOD 20
|
||||
|
||||
#define LV_USE_LOG 0
|
||||
#define LV_USE_PERF_MONITOR 0
|
||||
|
||||
#define LV_FONT_MONTSERRAT_14 1
|
||||
#define LV_FONT_MONTSERRAT_20 1
|
||||
#define LV_FONT_MONTSERRAT_28 1
|
||||
#define LV_FONT_DEFAULT &lv_font_montserrat_14
|
||||
|
||||
#define LV_USE_THEME_DEFAULT 1
|
||||
#define LV_THEME_DEFAULT_DARK 1
|
||||
|
||||
#endif
|
||||
#endif
|
||||
Reference in new issue
Block a user