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