How can I read Laser Ranging Distance Sensor (VL53L0X V2 ToF)?

pencilpen
pencilpen New Member Posts: 6

How can I read Laser Ranging Distance Sensor (VL53L0X V2) through I2C with python2.7? I use d up board with Lubuntu 18 and Ubuntu kernel 4.15.0.

I am try to use lib from https://github.com/pimoroni/VL53L0X-python/graphs/contributors but result as show below.
VL53L0X_GetDeviceInfo:
Device Name : VL53L0X ES1 or later
Device Type : VL53L0X
Device ID : VL53L0CBV0DH/1$1
ProductRevisionMajor : 1
ProductRevisionMinor : 1
API Status: 0 : No Error
Segmentation fault

How I can do? Please help me.

Privacy Policy