Implemented first Hangar-Service
Dependencies: CalibrateMagneto QuaternionMath
Fork of SML2 by
Diff: Barometer.h
- Revision:
- 46:fd5a62296b12
- Parent:
- 25:abb0f208e6a9
--- a/Barometer.h Wed May 27 11:45:00 2015 +0000 +++ b/Barometer.h Wed May 27 13:01:43 2015 +0000 @@ -11,7 +11,7 @@ typedef uint32_t BMP280_U32_t; typedef int32_t BMP280_S32_t; typedef int64_t BMP280_S64_t; - + void bmp280_read_calibration(); float bmp280_val_to_temp(BMP280_S32_t adc_T); float bmp280_val_to_pa(BMP280_S32_t adc_P); @@ -19,7 +19,7 @@ float sum; float avg; int nsamples; - + // Calibration parameters stored on chip // XXX: DO NOT modify the order, values are read into this section of the memory sequentially! uint16_t dig_T1;