garmin / LIDARLite_Arduino_Library

High-performance optical distance sensing.
Apache License 2.0
181 stars 84 forks source link

I2C change address error #12

Open tuloski opened 5 years ago

tuloski commented 5 years ago

There is an error in the funciton to change address: https://github.com/garmin/LIDARLite_Arduino_Library/blob/4e16d0165e70df856d77581ac5899f1f6e257459/src/LIDARLite.cpp#L162

it should be used the old address and not the new address to send the 0x08 to 0x1e, otherwise it doesn't work.