How can I connect two VL53L3CX to one ESP32 Lolin lite
Hello,
After a few weeks of searching en experimenting I am very lost of any solution for my idea. Which is connecting two VL53L3CX sensor to an ESP32 Lolin Lite.
I started a few months ago with a lot of interest in microcontrollers and via Arduino I went on to esp32, so my basic knowledge of programming is C++. Everything I read in or out of this community is in C. Which is hard for me to translate or even to use in mine code.
Connecting each sensor to a Twowire function did not work, even not when connecting the two sensor to one I2C bus via a pull-up resistor of 4.7K. I got one sensor working, the other is not. When I try to scan the second sensor, I am left empty handed. So somehow the second is not active. When I init the second sensor the program stops.
I include the code, the code was to big. I think it's not pleasure to read. it's a collection of a lot of experiments. Sorry for that. But still hoping someone can help me out what I can do more?
