Carter Nelson
Carter Nelson
There still appears to be two templates? `printChunk` and `minimum`?
Why not use? https://www.arduino.cc/reference/en/language/functions/math/min/
Which example code is being run? Is `RangeStatus` being checked?
> When I occasionally read absurd values, ,I observe that range status is 2(Signal Fail). Only occasionally? Sometimes you get absurd values with a range status that is OK?
The example sketches may not fully cover all possible failure cases. For example, the interrupt example only checks for phase failures: https://github.com/adafruit/Adafruit_VL53L0X/blob/e71010b98c862b9bc39bad79f801bd2522eec99d/examples/vl53l0x_Interrupt/vl53l0x_Interrupt.ino#L78 In general, if the status is anything other...
A status code of 2 is a signal fail, so the reading would not be correct in that case. Only a status code of 0 is valid. https://github.com/adafruit/Adafruit_VL53L0X/blob/23dc309c56ae7b3031b296380b0663c5dd5edb68/src/core/src/vl53l0x_api_strings.cpp#L185-L218
It could be for many reasons. Target size. Target color. Ambient lighting conditions. Sensor settings. etc. Keep in mind the sensor has a field of view of 25deg on the...
@felix-kolbe Hey, sorry this never got looked at. If you're still interested in submitting this PR, please update to resolve the merge conflicts.