# VL53L1X **Repository Path**: watermarker/vl53-l1-x ## Basic Information - **Project Name**: VL53L1X - **Description**: 基于STM32F103ZET6移植ST官方API红外测距,IIC通讯 - **Primary Language**: C - **License**: MulanPSL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 2 - **Forks**: 0 - **Created**: 2023-07-14 - **Last Updated**: 2024-04-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## 基于STM32F103ZET6&ST官方API的VL53L1X的测距代码 移植说明: 1.HAL库中选两个IO口配置为VL53_SCL&VL53_SDA, ![image-20230714102719840](C:\Users\admin\AppData\Roaming\Typora\typora-user-images\image-20230714102719840.png) 不要直接配置I2C,会有结构体定义名冲突,直接导致boot失败; 2.配置测距模式时VL53L1_SetLimitCheckValue&VL53L1_SetDistanceMode应当相互匹配 ![image-20230714102453420](C:\Users\admin\AppData\Roaming\Typora\typora-user-images\image-20230714102453420.png) 3.各种测距模式所需时间不同;