My project makes progress:
Question:
I use the ToF sensor library provided by SparkFun (for the VL53L5CX). I want to bring just sensor at a time into the active ranging mode (to save power and reduce the generated heat).
I could use the LPn signal (just talking to one sensor), or:
I could set different I2C slave addresses for every sensor.
When I have three instances (objects) of the SparkFun_VL53L5CX, like:
SparkFun_VL53L5CX myImager[3];
and I would set on every instance a different I2C slave address -
would it be "remembered" and used as a "different" I2C sensor when I fire a command for a particular sensor?
I want to change for two of my sensors the I2C address, and "scroll" through all the three sensors with a different I2C address assigned.
Right now I use LPn in order to select one of the three: but it would be nice to have all three sensors active in parallel and address via a different slave address (assigned first via LPn).
Not sure, if the ToF LIB would support several instances (more as one) of SparkFun_VL53L5CX and assigning different I2C addresses for each.