bmp280 ds1307 hmc5883l update

This commit is contained in:
lilian 2017-08-04 14:39:31 -03:00
parent d0ee1b06f3
commit d93c441da0
10 changed files with 169 additions and 160 deletions

View file

@ -26,6 +26,7 @@
#include <stdint.h>
#include <stdbool.h>
#include "i2c/i2c.h"
#ifdef __cplusplus
extern "C" {
@ -127,7 +128,7 @@ typedef struct {
int16_t dig_H5;
int8_t dig_H6;
uint8_t i2c_addr; /* I2C address. */
i2c_dev_t i2c_dev; /* I2C dev setting. */
uint8_t id; /* Chip ID */
} bmp280_t;