Usage for the french cup of robotic 2019

Dependencies:   X_NUCLEO_COMMON ST_INTERFACES

Dependents:   X_NUCLEO_53L0A1

Files at this revision

API Documentation at this revision

Comitter:
Pierr
Date:
Sun Feb 17 16:15:30 2019 +0000
Parent:
4:d25c4fa216af
Commit message:
Change for robot use;

Changed in this revision

VL53L0X.h Show annotated file Show diff for this revision Revisions of this file
--- a/VL53L0X.h	Mon Dec 18 08:27:21 2017 +0000
+++ b/VL53L0X.h	Sun Feb 17 16:15:30 2019 +0000
@@ -311,6 +311,7 @@
             _gpio1Int = NULL;
         }
     }
+    
 
     /** Constructor 2 (STMPE1600DigiOut)
      * @param[in] i2c device I2C to be used for communication
@@ -500,18 +501,18 @@
         uint8_t phase_cal;
 
         if (status == VL53L0X_ERROR_NONE) {
-            //printf("Call of VL53L0X_StaticInit\r\n");
+            printf("Call of VL53L0X_StaticInit\r\n");
             status = VL53L0X_static_init(_device);   // Device Initialization
         }
 
         if (status == VL53L0X_ERROR_NONE) {
-            //printf("Call of VL53L0X_PerformRefCalibration\r\n");
+            printf("Call of VL53L0X_PerformRefCalibration\r\n");
             status = VL53L0X_perform_ref_calibration(_device,
                      &vhv_settings, &phase_cal);  // Device Initialization
         }
 
         if (status == VL53L0X_ERROR_NONE) {
-            //printf("Call of VL53L0X_PerformRefSpadManagement\r\n");
+            printf("Call of VL53L0X_PerformRefSpadManagement\r\n");
             status = VL53L0X_perform_ref_spad_management(_device,
                      &ref_spad_count, &is_aperture_spads);  // Device Initialization
 //            printf ("refSpadCount = %d, isApertureSpads = %d\r\n", refSpadCount, isApertureSpads);