3种模式:高精度,长距离,高速
mode: 1 hight accuracy 200ms
2 long range 33ms
3 high speed 20ms
Ranging operating modes
1 single ranging 单次(选用)
2 Continuous ranging
3 Timed ranging
API的一些MODE 没有找到相关的说明
typedef uint8_t VL53L0X_DeviceModes;
#define VL53L0X_DEVICEMODE_SINGLE_RANGING ((VL53L0X_DeviceModes) 0)
#define VL53L0X_DEVICEMODE_CONTINUOUS_RANGING ((VL53L0X_DeviceModes) 1)
#define VL53L0X_DEVICEMODE_SINGLE_HISTOGRAM ((VL53L0X_DeviceModes) 2)
#define VL53L0X_DEVICEMODE_CONTINUOUS_TIMED_RANGING ((VL53L0X_DeviceModes) 3)
#define VL53L0X_DEVICEMODE_SINGLE_ALS ((VL53L0X_DeviceModes) 10)
#define VL53L0X_DEVICEMODE_GPIO_DRIVE ((VL53L0X_DeviceModes) 20)
#define VL53L0X_DEVICEMODE_GPIO_OSC ((VL53L0X_DeviceModes) 21)
ResetAndDetectSensor(int SetDisplay)
int DetectSensors(int SetDisplay)
status = VL53L0X_DataInit(pDev);
int RangeDemo(int UseSensorsMask, RangingConfig_e rangingConfig)
void SetupSingleShot(RangingConfig_e rangingConfig)
status=VL53L0X_StaticInit(&VL53L0XDevs);
status = VL53L0X_PerformRefCalibration(&VL53L0XDevs, &VhvSettings, &PhaseCal);
status = VL53L0X_PerformRefSpadManagement(&VL53L0XDevs, &refSpadCount, &isApertureSpads);
文章评论(0条评论)
登录后参与讨论