DECS_UIRP_2019_1st_semester / VL53L1X

Files at this revision

API Documentation at this revision

Comitter:
ink0513
Date:
Thu Aug 22 08:04:58 2019 +0000
Parent:
6:621552ff1de9
Commit message:
tof; OS2_Operation

Changed in this revision

VL53L1X.cpp Show annotated file Show diff for this revision Revisions of this file
VL53L1X.h Show annotated file Show diff for this revision Revisions of this file
--- a/VL53L1X.cpp	Fri Jul 27 19:02:07 2018 +0000
+++ b/VL53L1X.cpp	Thu Aug 22 08:04:58 2019 +0000
@@ -42,11 +42,11 @@
   //Polls the bit 0 of the FIRMWARE__SYSTEM_STATUS register to see if the firmware is ready
   int counter = 0;
   int  Firmware = readRegister16(VL53L1_FIRMWARE__SYSTEM_STATUS);
-  printf("Firmware = %x\r\n", Firmware);
+  //printf("Firmware = %x\r\n", Firmware);
   while ((Firmware & 0x01) == 0)
   {
     Firmware = readRegister16(VL53L1_FIRMWARE__SYSTEM_STATUS);
-    printf("Firmware = %x\r\n", Firmware);
+    //printf("Firmware = %x\r\n", Firmware);
     if (counter++ == 100) return (false); //Sensor timed out
     wait(.1);
   }
--- a/VL53L1X.h	Fri Jul 27 19:02:07 2018 +0000
+++ b/VL53L1X.h	Thu Aug 22 08:04:58 2019 +0000
@@ -1,3 +1,4 @@
+
 #ifndef VL53L1X_H
 #define VL53L1X_H