![]() |
LibDriver BH1750FVI
|
bh1750fvi example driver modules More...
Macros | |
| #define | BH1750FVI_BASIC_DEFAULT_MODE BH1750FVI_MODE_HIGH_RESOLUTION_MODE |
| bh1750fvi basic example default definition | |
| #define | BH1750FVI_BASIC_DEFAULT_MEASUREMENT_TIME 69 |
| #define | BH1750FVI_SHOT_DEFAULT_MODE BH1750FVI_MODE_HIGH_RESOLUTION_MODE |
| bh1750fvi shot example default definition | |
| #define | BH1750FVI_SHOT_DEFAULT_MEASUREMENT_TIME 69 |
Functions | |
| uint8_t | bh1750fvi_basic_init (bh1750fvi_address_t addr_pin) |
| basic example init | |
| uint8_t | bh1750fvi_basic_read (float *lux) |
| basic example read | |
| uint8_t | bh1750fvi_basic_deinit (void) |
| basic example deinit | |
| 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 | |
bh1750fvi example driver modules
| #define BH1750FVI_BASIC_DEFAULT_MEASUREMENT_TIME 69 |
measurement time 69
Definition at line 57 of file driver_bh1750fvi_basic.h.
| #define BH1750FVI_BASIC_DEFAULT_MODE BH1750FVI_MODE_HIGH_RESOLUTION_MODE |
bh1750fvi basic example default definition
high resolution mode
Definition at line 56 of file driver_bh1750fvi_basic.h.
| #define BH1750FVI_SHOT_DEFAULT_MEASUREMENT_TIME 69 |
measurement time 69
Definition at line 55 of file driver_bh1750fvi_shot.h.
| #define BH1750FVI_SHOT_DEFAULT_MODE BH1750FVI_MODE_HIGH_RESOLUTION_MODE |
bh1750fvi shot example default definition
high resolution mode
Definition at line 54 of file driver_bh1750fvi_shot.h.
| uint8_t bh1750fvi_basic_deinit | ( | void | ) |
basic example deinit
Definition at line 155 of file driver_bh1750fvi_basic.c.
| uint8_t bh1750fvi_basic_init | ( | bh1750fvi_address_t | addr_pin | ) |
basic example init
| [in] | addr_pin | iic device address |
Definition at line 49 of file driver_bh1750fvi_basic.c.
| uint8_t bh1750fvi_basic_read | ( | float * | lux | ) |
basic example read
| [out] | *lux | pointer to a converted lux buffer |
Definition at line 131 of file driver_bh1750fvi_basic.c.
| uint8_t bh1750fvi_shot_deinit | ( | void | ) |
shot example deinit
Definition at line 145 of file driver_bh1750fvi_shot.c.
| uint8_t bh1750fvi_shot_init | ( | bh1750fvi_address_t | addr_pin | ) |
shot example init
| [in] | addr_pin | iic device address |
Definition at line 49 of file driver_bh1750fvi_shot.c.
| uint8_t bh1750fvi_shot_read | ( | float * | lux | ) |
shot example read
| [out] | *lux | pointer to a converted lux buffer |
Definition at line 121 of file driver_bh1750fvi_shot.c.