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
Diff: Components/VL53L0X/vl53l0x_class.h
- Revision:
- 6:fa6944a8850f
- Parent:
- 5:c82a48da3c9e
- Child:
- 7:35ecf3e060c3
--- a/Components/VL53L0X/vl53l0x_class.h Mon Dec 05 11:28:33 2016 +0000 +++ b/Components/VL53L0X/vl53l0x_class.h Mon Dec 05 11:38:38 2016 +0000 @@ -61,7 +61,7 @@ #define STATUS_FAIL 0x01 -#define VL53L0X_OsDelay(...) HAL_Delay(2) +#define VL53L0X_OsDelay(...) wait_ms(2) // 2 msec delay. can also use wait(float secs)/wait_us(int) #ifdef USE_EMPTY_STRING #define VL53L0X_STRING_DEVICE_INFO_NAME ""