public class LPS25H extends Object implements ThermometerInterface, BarometerInterface, Closeable
Constructor and Description |
---|
LPS25H() |
LPS25H(int controller,
int address) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
float |
getPressure()
Get the pressure in kPa
|
float |
getTemperature()
Get temperature in degrees celsius
|
public float getPressure()
BarometerInterface
getPressure
in interface BarometerInterface
public float getTemperature()
ThermometerInterface
getTemperature
in interface ThermometerInterface
public void close()
close
in interface Closeable
close
in interface AutoCloseable
Copyright © 2016–2017 mattjlewis. All rights reserved.