Example of LidarLite library usage. The data from sensor registers is refreshed using refreshRange() / refreshVelocity() / refreshRangeVelocity() functions and measurement data can be read into program using getRange_cm() / getVelocity_cms(). I separated the functions to refresh and report data for ease of upgrade to thread functions.

Dependencies:   LidarLite

Example of LidarLite library usage, picture below shows the setup I used to test the program.

/media/uploads/akashvibhute/lidarlitembed1768.jpg

LidarLite.lib

Committer:
akashvibhute
Date:
2015-02-17
Revision:
1:9c2f6fa9062f
Parent:
0:17002a5fa7bc

File content as of revision 1:9c2f6fa9062f:

http://developer.mbed.org/users/akashvibhute/code/LidarLite/#8e6304ab38d2