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