2021-03-24 06:41 AM
vl53l1_class.cpp, Line 3864ff
//Fix for some STM32 boards
//Reinitialize th i2c bus with the default parameters
#ifdef ARDUINO_ARCH_STM32
if (status) {
dev_i2c->end();
// the method end() doesn't exist, you meant: dev_i2c->endTransmission(false); ?
dev_i2c->begin();
}
#endif
2021-08-23 01:22 AM
Hi Ritzeng
Since we have several sources of VL53L1 Arduino C++ libraries. Could you please precise which lib are you using and also send me the link to download the lib to check for you. Thanks. Julien