项目作者: ys-oh

项目描述 :
VL53L0X component library for esp32
高级语言: C
项目地址: git://github.com/ys-oh/vl53l0x_esp32.git
创建时间: 2021-02-05T10:08:00Z
项目社区:https://github.com/ys-oh/vl53l0x_esp32

开源协议:

下载


VL53L0X API Component for Esp32

This project based on
STSW-IMG005 (STMicroelectroics Provide) software packages. in this project not provied sources in STSW-IMG005. you can download above link.

Prepare VL53L0X Packages

after download and decompress VL53L0X API files. you can check folder structure

  1. vl53l0x/api/folder
  2. ├── Api <== it's your API PATH
  3. │ ├── core
  4. │ │ ├── inc
  5. │ │ └── src
  6. │ └── platform
  7. │ ├── inc
  8. │ └── src
  9. ├── ...

Configure API Path

Clone repository

  1. $ cd components
  2. $ git clone https://github.com/ys-oh/vl53l0x_esp32
  3. $ cd vl53l0x_esp32

In component folder. run script to configure api path

  1. $ ./configure_api_path.sh "your/vl53l0x/api/path"

Build your Project

Return to your Project Folder. then build

  1. $ cd "your/esp32/project/folder"
  2. $ idf.py build

enjoy your project :)