2025-02-07 08:04 AM
We are moving to VL53L4CD.
Have it all coded but having a strange experience. Simplistically we use the sensor continuously and only use GetResult to retrieve the sensor readings (e.g. not CheckforDataReady).
So, simplistically looks sorta like this using the ULD:
....
VL53L4CD_SensorInit
VL53L4CD_SensorStartRanging()
while Forever
VL53L4CD_ResultsData_t result;
VL53L4CD_Error VL53L4CD_GetResult(&result);
....
This worked fine for the VL53L1X but for the VL53L4CD while all Init, StartRanging and GetResult are returning a status of 0 the reading never changes. It gets a reasonable reading first but then just never changes.
Any idea?
Thanks,
Will
Solved! Go to Solution.
2025-02-07 10:03 AM
Appears to have been the config
2025-02-07 10:03 AM
Appears to have been the config