SparkFun Forums 

Where electronics enthusiasts find answers.

Have questions about a SparkFun product or board? This is the place to be.
By jasperza
I have tried changing the i2c address of the Garmin Lidar lite because I want to use 2 of them at once but writing to the registers in the manual doesnt seem to work. has anyone had any success with this?
these are the steps:
read(0x16, 1, serialNumberhi, false, currentLidarLiteAddress);
read(0x17, 1, serialNumberlo, false, currentLidarLiteAddress);
write(0x18, serialNumberhi[0], currentLidarLiteAddress);
write(0x19, serialNumberlo[0], currentLidarLiteAddress);
write(0x1a, newI2cAddress, currentLidarLiteAddress);