Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: VL53L1X.cpp
- Revision:
- 7:798b42aae185
- Parent:
- 6:621552ff1de9
--- 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); }