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

Download repository: zip gz

Files at revision 1:9c2f6fa9062f

Name Size Actions
[up]
LidarLite.lib 74 Revisions Annotate
main.cpp 1202 Revisions Annotate