Just wondering if there is or if anyone has a “Bare bones” version of the VL53L0X program
(vl53l0x-arduino-master) from Github. This one works great on my Arduino Leonardo but I
would like to implement it on a PIC. I looked at the I2C lines on a logic analyzer to copy over the
READS & WRITES but found it to be over whelming. Over 300 individual READS & WRITES.
I used this procedure on a smaller Arduino program but it is not quite as stable like the “l(vl53l0x-arduino-master)” program. Does the program have to be this long for just a simple
continuous distance measurement?
I’m just using the below 3 lines of I2C for PIC Basic and it works but I get the odd flaky measurement.
Hopefully I am just missing some settings. I just don’t thing I need all 300 I2C statements to
get it to work. I may try but a lot of work and memory usage.
Please let me know what you think.