I2C bus upgrade (#432)
This commit is contained in:
parent
d100f42b1f
commit
b83c2629b9
56 changed files with 909 additions and 804 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue