There is a compile error in your VL32L1 code
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-03-24 6: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
Labels:
- Labels:
-
Time of flight
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-08-23 1: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
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.
