Package com.diozero.devices
Interface BarometerInterface
-
- All Superinterfaces:
AutoCloseable
,DeviceInterface
,SensorInterface
public interface BarometerInterface extends SensorInterface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description float
getPressure()
Get the pressure in kPa-
Methods inherited from interface com.diozero.api.DeviceInterface
close
-
-
-
-
Method Detail
-
getPressure
float getPressure() throws RuntimeIOException
Get the pressure in kPa- Returns:
- pressure in kPa
- Throws:
RuntimeIOException
- if an IO error occurs
-
-