56 #ifndef BMP_280_SENSOR_H_ 57 #define BMP_280_SENSOR_H_ 60 #include "lib/sensors.h" 65 #if BOARD_SENSORS_ENABLE 66 #if (TI_I2C_CONF_ENABLE == 0) || (TI_I2C_CONF_I2C0_ENABLE == 0) 67 #error "The BMP280 requires the I2C driver (TI_I2C_CONF_ENABLE = 1)" 72 BMP_280_SENSOR_TYPE_TEMP,
73 BMP_280_SENSOR_TYPE_PRESS
74 } BMP_280_SENSOR_TYPE;
76 #define BMP_280_READING_ERROR -1 Header file with definitions related to the sensors on the Sensortags.
const struct sensors_sensor bmp_280_sensor
Exports a global symbol to be used by the sensor API.