#ifndef BMP280_COMP_H #define BMP280_COMP_H #include #include /*!@brief Calculate temperature from BMP280 raw sensor value. * @returns The temperature in °C. */ fxp_t bmp280_comp_temperature(int32_t adc); /*!@brief Calculate relative humidity from BMP280 raw sensor value. * @returns The relative humidity in %. */ fxp_t bmp280_comp_humidity(int32_t adc); /*!@brief Calculate pressure from BMP280 raw sensor value. * @returns The pressure in hPa. */ fxp_t bmp280_comp_pressure(int32_t adc); #endif // BMP280_COMP_H