Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to get distance returns -1 #23

Open
mdjavedakhtar opened this issue Aug 30, 2023 · 1 comment
Open

unable to get distance returns -1 #23

mdjavedakhtar opened this issue Aug 30, 2023 · 1 comment

Comments

@mdjavedakhtar
Copy link

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

@MEIZU16
Copy link

MEIZU16 commented Nov 14, 2024

Have you solved this problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants