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

Revision:
1:9c2f6fa9062f
Parent:
0:17002a5fa7bc
diff -r 17002a5fa7bc -r 9c2f6fa9062f main.cpp
--- a/main.cpp	Tue Feb 17 12:01:10 2015 +0000
+++ b/main.cpp	Tue Feb 17 12:03:45 2015 +0000
@@ -1,6 +1,6 @@
 /*
  *  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 seperated the functions to refresh and report data for ease of upgrade to thread functions.
+ *  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.
  *  
  *  Akash Vibhute   < akash . roboticist [at] gmail . com >
  *