Example 10: Motion indicator example.
In the example file there is this comment.
/* (Optional) Change the min and max distance used to detect motions. The
* distance between min and max must never be >1500mm, otherwise the function below returns error 127
min value is 400 max value 4000 */
In the vl53l5cx_plugin_motion_indicator.h file it indicates that the default are 400mm and 1500mm.
If I comment out the call to vl53l5cx_motion_indicator_set_distance_motion then I only get results of value zero. If I use vl53l5cx_motion_indicator_set_distance_motion() with values of 1000 and 2000 then I get results returned no matter where I wave my hand in front of the sensor. Any where between 10mm to 2500mm I see results. I was expecting to only see results when I wave my hand in the 1000-2000mm range.
Am I misunderstanding how this works?
