Expand description
A BMP280 that is not there.
A BMP280 is a BME280 without humidity: the same temperature and pressure registers and the
same calibration layout. So part holds the temperature and pressure half of the real
part the BME280 simulation was read from, and reads 20.44 C and
848.05 hPa. reporting reads whatever it is asked to, against the BMP280’s own
compensation.
Constants§
- BURST
- The six data registers
partholds from 0xF7: the pressure and temperature of the one measurement that part took. - CALIBRATION
- The 24 trimming bytes
partholds from 0x88: the temperature and pressure block of the real part the BME280 simulation was read from. - STATUS_
IDLE - The status a part reports when it is neither measuring nor loading its calibration.
Functions§
- burst_
for - The six data registers that compensate to a reading against
calibration. - calibration
- The calibration
partholds. - part
- A BMP280 answering at an address, holding a real calibration and one measurement.
- reporting
- A BMP280 that reads what it is asked to.