在主应用中更新显示驱动和 MQTT 主题

- 将显示驱动从 lvgl_st7735s_use 改为 lvgl_st7789_use,在 CMakeLists.txt 和 main.c 中。
- 将 MQTT 警报主题从“topic/alert/esp32_iothome_001”更新为“topic/alert/esp32_iothome_002”。
- 重构 UI 任务,去除周期性屏幕切换逻辑,专注于界面刷新。
- 调整错误处理,使新的显示驱动程序用于错误信息。
This commit is contained in:
Wang Beihong
2026-03-14 15:44:01 +08:00
parent 7ec1ed9111
commit bec31c01ce
12 changed files with 1686 additions and 249 deletions

View File

@@ -21,7 +21,7 @@
- `main/`业务编排、控制循环、MQTT 回调对接
- `components/wifi-connect/`:配网与路由连接
- `components/lvgl_st7735s_use/`LCD 与 LVGL 端口
- `components/lvgl_st7789_use/`LCD 与 LVGL 端口
- `components/ui/`:界面对象与变量绑定
- `components/i2c_master_messager/`AHT30、BH1750 采集
- `components/capactive_soil_moisture_sensor_V2.0/`:土壤湿度采集