2019-08-15 07:49 AM
Hi all
I have successfully implemented a single vl53l0x sensor, but wish to add more. I found the "AN4846 Application note Using multiple VL53L0X in a single design" documentation:
Under "VL53L0X API management" it specifies:
In vl53L0x_platform.h API file set VL53L0x_SINGLE_DEVICE_DRIVER macro to 0 so that API implementation will be automatically adapted to a multi-device context.
But I cannot find anything called "VL53L0x_SINGLE_DEVICE_DRIVER" in the vl53L0x_platform.h file.
Where can I find it? Or has the files updated without the documentation being updated? If so should this step just be skipped?
Solved! Go to Solution.
2022-06-21 09:04 AM
John,
thx!, You were right! everything was OK excepts addressing I have changed to:
#define original_addr 0x52
#define sensor1_addr 0x54
#define sensor2_addr 0x56
and now works! I missed address is devided by 2
BTW: AN4846 is not valid any more when 2.2 is not updated to newst API