public class VL6180ToF extends Object implements DistanceSensorInterface
ST VL6180X Time-of-Flight proximity and ambient light sensor. Ranging: 0 up to 150 mm (88% reflective). Lux <1 Lux up to 100 kLux.
Useful links:
Constructor and Description |
---|
VL6180ToF(int controller,
int deviceAddress) |
public void close() throws RuntimeIOException
close
in interface SensorInterface
close
in interface Closeable
close
in interface AutoCloseable
RuntimeIOException
public float getDistanceCm() throws RuntimeIOException
getDistanceCm
in interface DistanceSensorInterface
RuntimeIOException
Copyright © 2016–2018 mattjlewis. All rights reserved.