2017-09-05 01:29 PM
I'm using one of these sensors with a nrf52 board. I'm looking for a way to check/verify if the address on one of the sensors is already set to what I want to set it to (before I try to set it, obviously). My idea was to check a register on the sensor before I try changing anything, but I've found that ST does not provide registers for this sensor so that's out of the question, and its depleted all my ideas. Anyone know how I can try this?
The reason I ask is sometimes I re-flash my code to the board without power cycling the board (therefore the sensors do not power cycle), and that causes an issue when I try to change the address of a sensor that has already had its address changed.
#vl53l0x #nrf522017-10-08 06:10 PM
I use
VL53L0X_GetProductRevision(tofSens, &major, &minor);�?
To find this out which seems? to be working OK.