Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
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
Diff: VL53L0X.h
- Revision:
- 8:ac14de4512e8
- Parent:
- 7:174594acca0d
- Child:
- 9:b9907dc1e9f9
diff -r 174594acca0d -r ac14de4512e8 VL53L0X.h
--- 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)
