This is the SparkFun_VL53L1X_Arduino_Library translated into mbed, with some elements of Ian Kilburn's VL6180x mbed library.
Dependents: Hug2Go_ver_2 Nucleo_rtos_basic_f103rb
Diff: VL53L1X.cpp
- Revision:
- 3:a7f10344f941
- Parent:
- 2:fbaee2407103
- Child:
- 4:2c3181cc4e98
--- a/VL53L1X.cpp Fri Jul 20 16:32:44 2018 +0000 +++ b/VL53L1X.cpp Fri Jul 20 16:39:22 2018 +0000 @@ -137,6 +137,7 @@ uint8_t periodB; uint8_t phaseHigh; uint8_t phaseInit; + switch (mode) { case 0: