Simple VL6180x demo for VL6180x Explorer shield with Nucleo F401 adapted from SparkFun example.
Dependents: VL6180X VL6180X_Explorer VL6180X_Explorer VL6180X ... more
Diff: VL6180x.h
- Revision:
- 5:fa7d17a114d2
- Parent:
- 4:ebaf8038c8ed
--- a/VL6180x.h Mon May 11 20:17:53 2015 +0000 +++ b/VL6180x.h Fri Jun 17 17:07:43 2016 +0000 @@ -262,6 +262,11 @@ */ uint8_t getDistance(); /** +* Get Range distance in meters +* @returns TOF distance in meters +*/ + float getDistance_m(); +/** * Get ALS level in Lux * @param vl6180x_als_gain gain setting for sensor * @returns light level in Lux