Bmp280 option (#220)
* bmp280 more options add option to user for temp oversampling and possibility to skipp a specific measure * Update bmp280.h * quick fix oups * less redundant terms
This commit is contained in:
parent
6bd2d15d23
commit
0d9094e443
2 changed files with 6 additions and 6 deletions
|
@ -69,6 +69,7 @@ typedef enum {
|
|||
* Pressure oversampling settings
|
||||
*/
|
||||
typedef enum {
|
||||
BMP280_SKIPPED = 0, /* no measurement */
|
||||
BMP280_ULTRA_LOW_POWER = 1, /* oversampling x1 */
|
||||
BMP280_LOW_POWER = 2, /* oversampling x2 */
|
||||
BMP280_STANDARD = 3, /* oversampling x4 */
|
||||
|
@ -97,7 +98,8 @@ typedef enum {
|
|||
typedef struct {
|
||||
BMP280_Mode mode;
|
||||
BMP280_Filter filter;
|
||||
BMP280_Oversampling oversampling; // pressure oversampling
|
||||
BMP280_Oversampling oversampling_pressure;
|
||||
BMP280_Oversampling oversampling_temperature;
|
||||
BMP280_Oversampling oversampling_humidity;
|
||||
BMP280_StandbyTime standby;
|
||||
} bmp280_params_t;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue