#pragma once
#include "libBMP280/bmp280.h"
/// @brief device pointer
extern struct bmp280_dev bmpManifold;
// ambient pressure sensor
extern struct bmp280_dev bmpAtmosphere;
/// @brief configuration for a single BMP280
extern struct bmp280_config confManifold;
extern struct bmp280_config confAtmosphere;
/// @brief Initialise the bmp sensor
/// @param i2c Interface to use
/// @param dev device handle to refer to
/// @param conf configuration to use
/// @return BMP280 return code
uint8_t init_bmp( I2C_HandleTypeDef * i2c, struct bmp280_dev * dev,struct bmp280_config * conf);