sensor.distance.vl53l1x

class platypush.backend.sensor.distance.vl53l1x.SensorDistanceVl53L1XBackend(short=True, medium=False, long=False, **kwargs)[source]

Backend to poll an VL53L1x laser ranger/distance sensor

Requires:

  • smbus2 (pip install smbus2)

  • vl53l1x (pip install vl53l1x)

Triggers:

__init__(short=True, medium=False, long=False, **kwargs)[source]
Parameters
  • short – Enable short range measurement (default: True)

  • medium – Enable medium range measurement (default: False)

  • long – Enable long range measurement (default: False)