28 void set_k_value(uint16_t k_value) { this->
k_value_ = k_value; }
35 void setup()
override;
This class simplifies creating components that periodically check a state.
This Class provides the methods to read/write bytes from/to an i2c device.
Base-class for all sensors.
XGZP68XXOversampling last_pressure_oversampling_
void read_pressure_()
Internal method to read the pressure from the component after it has been scheduled.
void dump_config() override
XGZP68XXOversampling pressure_oversampling_
void set_pressure_oversampling(XGZP68XXOversampling pressure_oversampling)
Set the pressure oversampling value. Defaults to 4096X.
SUB_SENSOR(temperature) SUB_SENSOR(pressure) void set_k_value(uint16_t k_value)
XGZP68XXOversampling
Enum listing all oversampling options for the XGZP68XX.
@ XGZP68XX_OVERSAMPLING_32768X
@ XGZP68XX_OVERSAMPLING_1024X
@ XGZP68XX_OVERSAMPLING_256X
@ XGZP68XX_OVERSAMPLING_UNKNOWN
@ XGZP68XX_OVERSAMPLING_8192X
@ XGZP68XX_OVERSAMPLING_2048X
@ XGZP68XX_OVERSAMPLING_4096X
@ XGZP68XX_OVERSAMPLING_16384X
@ XGZP68XX_OVERSAMPLING_512X
Providing packet encoding functions for exchanging data with a remote host.