Skip to content

unable to get distance returns -1 #23

@mdjavedakhtar

Description

@mdjavedakhtar

i am getting -1 for distance value. bellow is the log
can anyone help to fix this

same sensor works on Arduino with DFRobot_VL53L0X library

VL53L0X Start Ranging Address 0x29

VL53L0X_GetDeviceInfo:
Device Name : VL53L0X ES1 or later
Device Type : VL53L0X
Device ID : VL53L0CAV0DH/1$5
ProductRevisionMajor : 1
ProductRevisionMinor : 1
Call of VL53L0X_PerformRefCalibration
API Status: -7 : Time out error
VL53L0X_HIGH_SPEED_MODE
Set Accuracy
API Status: -4 : Invalid parameters error
Timing 41 ms

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions