LooUQ ESP-IDF Component for STMicroelectronics (ST) VL53L4CD time-of-flight (TOF) distance sensor
This package allows for inclusion of the VL53L4CD TOF sensor driver provided by STMicroelectronics in your Espressif ESP-IDF projects as an ESP-IDF component.
To install in your ESP-IDF project
- Copy the full st_vl53l4cd folder into your IDF project's "components" folder
- Add "st_vl53l4cd" to your main folder's CMakeList.txt REQUIRES list (see example below).
- Note that driver component is required for I2C support
idf_component_register( \
SRCS "main.c" "projUtility.c" \
INCLUDE_DIRS "." \
REQUIRES ${requires} nvs_flash esp_timer esp_wifi lwip esp-tls esp_http_client driver st_vl53l1x \
EMBED_TXTFILES memfault_root_cert.pem \
)
Base driver is copyright STMicroelectronics, ESP-IDF component and platform adaption is copyright LooUQ Incorporated.