LibDriver BH1750FVI  1.0.0
BH1750FVI full-featured driver
driver_bh1750fvi_shot.h
Go to the documentation of this file.
1 
37 #ifndef DRIVER_BH1750FVI_SHOT_H
38 #define DRIVER_BH1750FVI_SHOT_H
39 
41 
42 #ifdef __cplusplus
43 extern "C"{
44 #endif
45 
54 #define BH1750FVI_SHOT_DEFAULT_MODE BH1750FVI_MODE_HIGH_RESOLUTION_MODE
55 #define BH1750FVI_SHOT_DEFAULT_MEASUREMENT_TIME 69
66 
75 uint8_t bh1750fvi_shot_read(float *lux);
76 
84 uint8_t bh1750fvi_shot_deinit(void);
85 
90 #ifdef __cplusplus
91 }
92 #endif
93 
94 #endif
driver bh1750fvi interface header file
bh1750fvi_address_t
bh1750fvi address enumeration definition
uint8_t bh1750fvi_shot_init(bh1750fvi_address_t addr_pin)
shot example init
uint8_t bh1750fvi_shot_read(float *lux)
shot example read
uint8_t bh1750fvi_shot_deinit(void)
shot example deinit