Range value out of range. This occurs when the target is detected by the device but is placed at a high distance (> 200mm) resulting in internal variable overflow
If with same arrangement of object to detect works on different platform, I suspect some data is not correctly received / decoded or a different measurement is looked at rather than the expected one with the object in range.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
@user109290
are you talking about the
in Table 12. - Range error codes - as specified in datasheet https://www.st.com/resource/en/datasheet/vl6180x.pdf V7 pages 27+28?
If with same arrangement of object to detect works on different platform, I suspect some data is not correctly received / decoded or a different measurement is looked at rather than the expected one with the object in range.