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