Changes to the library related to interrupt mode.
Dependencies: ST_INTERFACES X_NUCLEO_COMMON
Dependents: Display_53L0A1_IntSatelites Display_53L0A1_InterruptMode
Fork of X_NUCLEO_53L0A1 by
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);
}
/**
