public interface BarometerBosch extends MetaWearBoard.Module, Configurable<BarometerBosch.ConfigEditor<? extends BarometerBosch.ConfigEditor>>
BarometerBme280
,
BarometerBmp280
Modifier and Type | Interface and Description |
---|---|
static interface |
BarometerBosch.ConfigEditor<T extends BarometerBosch.ConfigEditor>
Barometer agnostic interface for configuring the sensor
|
static class |
BarometerBosch.FilterCoeff
Available IIR (infinite impulse response) filter coefficient for the Bosch pressure sensors
|
static class |
BarometerBosch.OversamplingMode
Supported oversampling modes on a Bosch barometer
|
Modifier and Type | Method and Description |
---|---|
AsyncDataProducer |
altitude()
Get an implementation of the AsyncDataProducer interface for altitude data, represented as a
float in units of meters (m)
|
AsyncDataProducer |
pressure()
Get an implementation of the AsyncDataProducer interface for pressure data, represented as a
float in units of Pascals (pa)
|
void |
start()
Start data sampling
|
void |
stop()
Stop data sampling
|
configure
AsyncDataProducer pressure()
AsyncDataProducer altitude()
void start()
void stop()