tsl2561 tsl4531 update

This commit is contained in:
lilian 2017-08-04 19:01:14 -03:00
parent 92b18cf2fd
commit 84af4e4bb1
6 changed files with 51 additions and 47 deletions

View file

@ -9,6 +9,7 @@
#include <stdint.h>
#include <stdbool.h>
#include <i2c/i2c.h>
#ifdef __cplusplus
extern "C" {
@ -38,7 +39,7 @@ typedef enum
} tsl4531_part_id_t;
typedef struct {
tsl4531_i2c_addr_t i2c_addr;
i2c_dev_t i2c_dev;
uint8_t integration_time_id;
bool skip_power_save;
tsl4531_part_id_t part_id;