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.
Dependents: VL6180_Hello_World STM32F103C8T6_VL6180 BLE_Sensor_VL6180 BLE_Sensor_VL6180_window
Revision 3:5d61f202b1bd, committed 2015-10-19
- Comitter:
- sburg
- Date:
- Mon Oct 19 21:58:52 2015 +0000
- Parent:
- 2:595673e4c505
- Commit message:
- Fixed address error in read()
Changed in this revision
VL6180.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/VL6180.cpp Mon Oct 19 16:47:17 2015 +0000 +++ b/VL6180.cpp Mon Oct 19 21:58:52 2015 +0000 @@ -59,7 +59,7 @@ writeI2C(0x18, 0x01); status = readI2C(0x4F); - while((status & 0x2) != 4) { + while((status & 0x7) != 4) { status = readI2C(0x4F); }