2021-12-09 12:30 AM
2021-12-15 01:19 PM
Minus 12 means the device really thought you had a value less then 0. I'm guessing you need to redo the offset calibration. By adjusting the offset, this will go away.
The 6 is an Early convergence estimate ECE check - This means that so few photons returned that the sensor quit after 0.5ms to save power. Read this as 'No target within range.
The 7 is a Max convergence System did not converge before the specified max. convergence time limit.. Not enough photons were returned to get a range in the time you allowed. Again treat as 'No target within range'.
The 11 is also sort of expected. It's 11 Signal to Noise, Ratio Ambient conditions too high. Measurement not valid. Basically there was too much Sunlight and the sensor could not get a range. (Could be very bright halogen lights, but sunlight is more common.) Again treat as no target.
All this means the sensor is doing what you want. It's giving you a target when it can and telling why when it cannot.
Read the section of the data sheet on Calibration - It will show you how.