cancel
Showing results for 
Search instead for 
Did you mean: 

There is a compile error in your VL32L1 code

ritzeng
Associate II

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

1 REPLY 1
Julien NGUYEN
ST Employee

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


In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.