Class VCNL4040

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

    
    public final class VCNL4040
     implements LuminositySensorInterface
                        

    Proximity and ambient light sensor on I2C bus. Note that this is not a "ranging" device as the proximity _ increases as an object approaches the sensor. The value is also not linear, but geometric.