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:
16:0d4776564733
Parent:
1:1de1ea2994d9
Child:
22:1a6327e9a7e6
--- a/Components/VL6180X/vl6180x_cfg.h	Tue Oct 20 16:44:28 2015 +0200
+++ b/Components/VL6180X/vl6180x_cfg.h	Tue Oct 27 15:25:11 2015 +0100
@@ -58,7 +58,7 @@
  * @li 3 : Fixed scaling by 3
  * @li  -1 -2 -3 : Run time programmable through @a VL6180x_UpscaleSetScaling(). Default scaling factore is -VL6180x_UPSCALE_SUPPORT \n
  */
-#define VL6180x_UPSCALE_SUPPORT -1
+#define VL6180x_UPSCALE_SUPPORT -3 // -1 to -3
 
 /**
  * @def VL6180x_ALS_SUPPORT
@@ -106,7 +106,7 @@
  * Device that do not formally support extended ranging should only be used with a scaling factor of 1.
  * Correct operation with scaling factor other than 1 (>200mm ) is not granted by ST.
  */
-#define VL6180x_EXTENDED_RANGE 0
+#define VL6180x_EXTENDED_RANGE 1 // 0 to 1
 
 
 #if (VL6180x_EXTENDED_RANGE) && (VL6180x_ALS_SUPPORT)