--- start fall state detection ALG

This commit is contained in:
Yunhorn 2024-10-17 11:23:50 +08:00
parent 61b28d1e28
commit d90d66eda8
2 changed files with 4 additions and 4 deletions

View File

@ -434,8 +434,8 @@ void STS_YunhornSTSEventP5_Process(void)
} }
#elif defined(L8) #elif defined(L8)
//STS_TOF_VL53L8X_Process(); //STS_TOF_VL53L8X_Process();
//MX_TOF_Process(); MX_TOF_Process();
MX_TOF_Ranging_Process(); //MX_TOF_Ranging_Process();
#endif #endif
} }

View File

@ -203,7 +203,7 @@ void STS_TOF_L8_Process(void)
if (status == BSP_ERROR_NONE) if (status == BSP_ERROR_NONE)
{ {
//print_result(&Result); print_result(&Result);
} }
} }
} }
@ -276,7 +276,7 @@ static void MX_53L8A1_ThresholdDetection_Process(void)
printf("-------------------------------------------\n\r"); printf("-------------------------------------------\n\r");
printf("please put a target between %d and %d millimeters from the sensor\n\r", printf("please put a target between %d and %d millimeters from the sensor\n\r",
LOW_THRESHOLD, HIGH_THRESHOLD); LOW_THRESHOLD, HIGH_THRESHOLD);
#if 0 #if 1
//while (1) //while (1)
{ {
/* interrupt mode */ /* interrupt mode */