增加LilyGo T-CameraPlus-S3的摄像头红外过滤功能 (#766)

* set camera HMirror to true

* change key1 to camera button

* change key1 to camera button

* change key1 to camera button

* add ir filter controller

* add ir filter controller

* add ir filter controller
This commit is contained in:
yusuhua
2025-06-06 11:18:02 +08:00
committed by GitHub
parent 7bb12f31f0
commit b18dda3f2f
5 changed files with 59 additions and 16 deletions

View File

@ -10,6 +10,7 @@
#include "sy6970.h"
#include "pin_config.h"
#include "esp32_camera.h"
#include "ir_filter_controller.h"
#include <esp_log.h>
#include <esp_lcd_panel_vendor.h>
@ -292,6 +293,8 @@ public:
thing_manager.AddThing(iot::CreateThing("Speaker"));
thing_manager.AddThing(iot::CreateThing("Screen"));
thing_manager.AddThing(iot::CreateThing("Battery"));
#elif CONFIG_IOT_PROTOCOL_MCP
static IrFilterController irFilter(AP1511B_GPIO);
#endif
GetBacklight()->RestoreBrightness();
}