We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 065e292 commit 159c19eCopy full SHA for 159c19e
src/SparkFun_VL53L1X.cpp
@@ -54,7 +54,7 @@ bool SFEVL53L1X::checkID()
54
{
55
uint16_t sensorId;
56
_device->VL53L1X_GetSensorId(&sensorId);
57
- if (sensorId == 0xEACC)
+ if (sensorId == 0xEACC | sensorId == 0xEBAA)
58
return true;
59
return false;
60
}
@@ -359,4 +359,4 @@ void SFEVL53L1X::calibrateXTalk(uint16_t targetDistanceInMm)
359
360
uint16_t xTalk = getXTalk();
361
_device->VL53L1X_CalibrateXtalk(targetDistanceInMm, &xTalk);
362
-};
+};
0 commit comments