sdsd

Dependents:   tof100

Revision:
3:5d61f202b1bd
Parent:
0:f23c00f688b2
Child:
4:aab6582c7456
diff -r 595673e4c505 -r 5d61f202b1bd VL6180.cpp
--- 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);
     }