Library for use with VL53L1X, intended to represent the Proximity sensor expansion board with the same name.
Dependencies: VL53L1X_mbed
Dependents: HelloWorld_53L1A1 VL53L1A1_Simple_Ranging_With_One_Device VL53L1A1_Simple_Ranging_With_All_Devices VL53L1X_Ranging_With_Multiple_Devices_MbedOS ... more
Revision 8:8d27ebb4e1eb, committed 2016-12-07
- Comitter:
- johnAlexander
- Date:
- Wed Dec 07 14:49:50 2016 +0000
- Parent:
- 7:35ecf3e060c3
- Child:
- 9:367d1f390cb2
- Commit message:
- Add small delay in VL53L0_On/Off members, to allow longer for sensor to power-up or switch off.
Changed in this revision
| Components/VL53L0X/vl53l0x_class.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/Components/VL53L0X/vl53l0x_class.h Mon Dec 05 11:50:38 2016 +0000
+++ b/Components/VL53L0X/vl53l0x_class.h Wed Dec 07 14:49:50 2016 +0000
@@ -352,6 +352,7 @@
*gpio0 = 1;
else if (expgpio0)
*expgpio0 = 1;
+ wait_ms(1);
}
/**
@@ -365,6 +366,7 @@
*gpio0 = 0;
else if (expgpio0)
*expgpio0 = 0;
+ wait_ms(1);
}
/**
X-NUCLEO-53L1A1 Ranging Sensor Expansion Board