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.
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);
}
/**
