Class VL6180X

  • All Implemented Interfaces:
    com.diozero.api.DeviceInterface , com.diozero.devices.DistanceSensorInterface , com.diozero.devices.LuminositySensorInterface , com.diozero.devices.SensorInterface , java.lang.AutoCloseable

    
    public final class VL6180X
     implements LuminositySensorInterface, DistanceSensorInterface
                        

    Close-range "time of flight" proximity sensor on an I2C board, works for ranges < 200 mm.

    Shamelessly cribbed from the Adafruit CircuitPython driver at https://github.com/adafruit/Adafruit_CircuitPython_VL6180X/blob/main/adafruit_vl6180x.py