Kenji Arai / VL53L0X_simple

Dependents:   Check_VL53L0X_simple_with_three_ToF Check_VL53L0X_simple_ToF_Sensor Check_VL53L0X_simple_with_three_ToF Check_VL53L0X_simple_ToF_Sensor ... more

Fork of VL53L0X by ST

Revision:
8:ac14de4512e8
Parent:
7:174594acca0d
Child:
9:b9907dc1e9f9
--- a/VL53L0X.h	Mon Feb 05 22:30:58 2018 +0000
+++ b/VL53L0X.h	Tue Feb 06 10:35:18 2018 +0000
@@ -134,7 +134,7 @@
  *     int status = VL53L0X_ERROR_NONE;
  *     uint32_t data;
  *
- *     status = sensor.init_sensor(0x33);   // set new addres(not equal others)
+ *     status = sensor.init_sensor(0x33<<1U); //new addres(not equal others)
  *     status = sensor.set_mode(range_long_distance_33ms_200cm);
  *     //status = sensor.set_mode(range_hi_accurate_200ms_120cm);
  *     //status = sensor.set_mode(range_hi_speed_20ms_120cm);
@@ -172,7 +172,6 @@
             _gpio1Int = NULL;
         }
 		preparation();
-        //init_sensor(VL53L0X_DEFAULT_ADDRESS);
     }
 
     /** Constructor 2 (another simple way)