Package com.diozero.devices
Interface SensorInterface
- All Superinterfaces:
AutoCloseable
,Closeable
- All Known Subinterfaces:
BarometerInterface
,DistanceSensorInterface
,HygrometerInterface
,LuminositySensorInterface
,ThermometerInterface
- All Known Implementing Classes:
BH1750
,BME280
,BME680
,BMP180
,GP2Y0A21YK
,HCSR04
,HCSR04UsingEvents
,HCSR04UsingWait
,HTS221
,LM73
,LPS25H
,TMP36
,TSL2561
,VL6180
,W1ThermSensor
public interface SensorInterface extends Closeable
-
Method Summary
Modifier and Type Method Description void
close()
-
Method Details
-
close
void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-