bh1750fvi_internal.h¶
Command definition for the BH1750FVI light sensor.
-
RES_DIV
¶ Result divisor (1.2 times 65535)
1
(78642)
The 16-bit RAW results have to be divided by 1.2. We do this by using fixed floating point arithmetics by multiplying divisor and RAW value by 65535 ( uint16_t max).
-
OP_POWER_DOWN
¶ 1
(0x00)
-
OP_POWER_ON
¶ 1
(0x01)
-
OP_RESET
¶ 1
(0x03)
-
OP_CONT_HRES1
¶ 1
(0x10)
-
OP_CONT_HRES2
¶ 1
(0x11)
-
OP_CONT_LRES
¶ 1
(0x13)
-
OP_SINGLE_HRES1
¶ 1
(0x20)
-
OP_SINGLE_HRES2
¶ 1
(0x21)
-
OP_SINGLE_LRES
¶ 1
(0x23)
-
OP_CHANGE_TIME_H_MASK
¶ 1
(0x40)
-
OP_CHANGE_TIME_L_MASK
¶ 1
(0x60)
-
DELAY_HMODE
¶ typ.
1
(120000)
120ms in H-mode
-
DELAY_LMODE
¶ typ.
1
(16000)
16ms in L-mode