Lidar lite conversions

I just picked up a lidar lite. The codes I found on github read the data in cm. how would I modify this to read feet and inches?

Also how would I create a script to be able to adjust the off set of the laser to match the image plane of a camera?

how would I modify this to read feet and inches?

2.54 cm = one inch.