Package com.diozero.devices
Interface ThermometerInterface
- All Superinterfaces:
AutoCloseable
,DeviceInterface
,SensorInterface
public interface ThermometerInterface extends SensorInterface
-
Method Summary
Modifier and Type Method Description float
getTemperature()
Get temperature in degrees celsiusMethods inherited from interface com.diozero.api.DeviceInterface
close
-
Method Details
-
getTemperature
Get temperature in degrees celsius- Returns:
- Temperature (deg C)
- Throws:
RuntimeIOException
- if an I/O error occurs
-