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

Embed: (wiki syntax)

« Back to documentation index

File Index

File List

Here is a list of all documented files with brief descriptions:
main.cpp [code]