use VL6180XA1 chip wothout X-NUCLEO-6180XA1 Board. Simple way to use the chip.

Dependents:   Check_VL6180XA1_ToF

Fork of X_NUCLEO_6180XA1 by ST

Revision:
54:17f3bb228b13
Parent:
10:4954b09b72d8
Child:
57:fa4c622b04a7
--- a/Components/VL6180X/vl6180x_def.h	Tue Sep 27 12:18:09 2016 +0000
+++ b/Components/VL6180X/vl6180x_def.h	Wed Nov 30 08:25:04 2016 +0000
@@ -251,7 +251,7 @@
  * @brief Range and any optional measurement data.
  */
 typedef struct {
-    int32_t range_mm;          /*!< range distance in mm. */
+    uint32_t range_mm;          /*!< range distance in mm. */
     int32_t signalRate_mcps;   /*!< signal rate (MCPS)\n these is a 9.7 fix point value, which is effectively a measure of target reflectance.*/
     uint32_t errorStatus;      /*!< Error status of the current measurement. \n
                                   see @a ::RangeError_u @a VL6180x_GetRangeStatusErrString() */