Command definition for the BH1750FVI light sensor. More...
Command definition for the BH1750FVI light sensor.
Definition in file bh1750fvi_internal.h.
Go to the source code of this file.
#define | RES_DIV (78642) |
Result divisor (1.2 times 65535) More... | |
Measurement delays (in us) | |
#define | DELAY_HMODE (120000) |
typ. More... | |
#define | DELAY_LMODE (16000) |
typ. More... | |
#define DELAY_HMODE (120000) |
#define DELAY_LMODE (16000) |
#define RES_DIV (78642) |
Result divisor (1.2 times 65535)
The 16-bit RAW results have to be divided by 1.2. We do this by using fixed floating point arithmetic by multiplying divisor and RAW value by 65535 ( uint16_t max).
Definition at line 34 of file bh1750fvi_internal.h.