test

Dependencies:   ST_INTERFACES X_NUCLEO_COMMON

Files at this revision

API Documentation at this revision

Comitter:
zero515
Date:
Wed Feb 01 10:15:30 2017 +0000
Parent:
8:8d27ebb4e1eb
Commit message:
test2

Changed in this revision

Components/VL53L0X/vl53l0x_class.h Show annotated file Show diff for this revision Revisions of this file
x_nucleo_53l0a1.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 8d27ebb4e1eb -r 294485283baf Components/VL53L0X/vl53l0x_class.h
--- a/Components/VL53L0X/vl53l0x_class.h	Wed Dec 07 14:49:50 2016 +0000
+++ b/Components/VL53L0X/vl53l0x_class.h	Wed Feb 01 10:15:30 2017 +0000
@@ -538,20 +538,20 @@
 
         if(Status == VL53L0X_ERROR_NONE)
         {
-            printf ("Call of VL53L0X_StaticInit\n");
+            //printf ("Call of VL53L0X_StaticInit\n");
             Status = VL53L0X_StaticInit(Device); // Device Initialization
         }
     
         if(Status == VL53L0X_ERROR_NONE)
         {
-            printf ("Call of VL53L0X_PerformRefCalibration\n");
+            //printf ("Call of VL53L0X_PerformRefCalibration\n");
            Status = VL53L0X_PerformRefCalibration(Device,
                         		&VhvSettings, &PhaseCal); // Device Initialization
         }
 
         if(Status == VL53L0X_ERROR_NONE)
         {
-            printf ("Call of VL53L0X_PerformRefSpadManagement\n");
+            //printf ("Call of VL53L0X_PerformRefSpadManagement\n");
             Status = VL53L0X_PerformRefSpadManagement(Device,
                              &refSpadCount, &isApertureSpads); // Device Initialization
 //            printf ("refSpadCount = %d, isApertureSpads = %d\n", refSpadCount, isApertureSpads);
diff -r 8d27ebb4e1eb -r 294485283baf x_nucleo_53l0a1.cpp
--- a/x_nucleo_53l0a1.cpp	Wed Dec 07 14:49:50 2016 +0000
+++ b/x_nucleo_53l0a1.cpp	Wed Feb 01 10:15:30 2017 +0000
@@ -77,11 +77,11 @@
       delete xshutdown_centre;
       sensor_centre=NULL;
       xshutdown_centre=NULL;
-      printf("Sensor centre not present\n\r");
+      //printf("Sensor centre not present\n\r");
    }
    else
    {
-      printf("Sensor centre present\n\r");
+      //printf("Sensor centre present\n\r");
       n_dev++;
    }
 /*   status=sensor_left->InitSensor(NEW_SENSOR_LEFT_ADDRESS);