64 void setup()
override;
65 void dump_config()
override;
66 void update()
override;
78 uint8_t
read_u8_(uint8_t a_register);
This class simplifies creating components that periodically check a state.
This class implements support for the BMP280 Temperature+Pressure sensor.
virtual bool bmp_write_byte(uint8_t a_register, uint8_t data)=0
virtual bool bmp_read_byte_16_le(uint8_t a_register, uint16_t *data)=0
uint8_t read_u8_(uint8_t a_register)
virtual bool bmp_read_bytes(uint8_t a_register, uint8_t *data, size_t len)=0
uint16_t read_u16_le_(uint8_t a_register)
int16_t read_s16_le_(uint8_t a_register)
float read_pressure_(int32_t t_fine)
Read the pressure value in hPa using the provided t_fine value.
BMP280IIRFilter iir_filter_
BMP280Oversampling pressure_oversampling_
virtual bool bmp_read_byte(uint8_t a_register, uint8_t *data)=0
float read_temperature_(int32_t *t_fine)
Read the temperature value and store the calculated ambient temperature in t_fine.
BMP280Oversampling temperature_oversampling_
BMP280CalibrationData calibration_
BMP280IIRFilter
Enum listing all Infinite Impulse Filter values for the BMP280.
BMP280Oversampling
Enum listing all Oversampling values for the BMP280.
@ BMP280_OVERSAMPLING_16X
@ BMP280_OVERSAMPLING_NONE
Internal struct storing the calibration values of an BMP280.