This commit is contained in:
2026-03-14 23:29:19 +08:00
parent 8e779dce30
commit a87625df90
4 changed files with 566 additions and 20 deletions
+3 -3
View File
@@ -606,7 +606,7 @@ int main(void)
printf("=== TEST PATTERN MODE === No sensor/DVP hardware needed\r\n");
/* Skip Mini212G2_Init() and DVP_Init() */
#else
Mini212G2_Init(); /* Configure sensor for CMOS/DVP Y16 output */
/* 模组已通过 USB 预配置,无需 MCU UART 配置,直接初始化 DVP */
DVP_Init();
#endif
TIM2_Init();
@@ -643,12 +643,12 @@ int main(void)
test_cfg2d.TriggerRoiW = SENSOR_WIDTH;
test_cfg2d.TriggerRoiH = SENSOR_HEIGHT;
test_cfg2d.TriggerCondition = 1; /* Max temperature */
test_cfg2d.TriggerTemperatureThreshold = 8000; /* 80.00°C */
test_cfg2d.TriggerTemperatureThreshold = 800; /* 80.0°C (0.1°C/LSB) */
test_cfg2d.TriggerBurstCount = 3;
test_cfg2d.TriggerInternalIntervalMs = 200;
test_cfg2d.NGioDelay = 200;
Preprocess_Settings_Change(&test_cfg2d, NULL, NULL);
printf("Test default config loaded: trigger thresh=8000 ROI=full burst=3\r\n");
printf("Test default config loaded: trigger thresh=800 ROI=full burst=3\r\n");
}
#endif