Skip to content

Commit 46c14f5

Browse files
committed
fixing ALS Integration time consts for #6
1 parent c41cf22 commit 46c14f5

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

adafruit_veml7700.py

+7-6
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,13 @@ class VEML7700:
6767
ALS_GAIN_1_4 = const(0x3)
6868

6969
# Ambient light integration time settings
70-
ALS_25MS = const(0x0)
71-
ALS_50MS = const(0x1)
72-
ALS_100MS = const(0x2)
73-
ALS_200MS = const(0x3)
74-
ALS_400MS = const(0x4)
75-
ALS_800MS = const(0x5)
70+
71+
ALS_25MS = const(0xC)
72+
ALS_50MS = const(0x8)
73+
ALS_100MS = const(0x0)
74+
ALS_200MS = const(0x1)
75+
ALS_400MS = const(0x2)
76+
ALS_800MS = const(0x3)
7677

7778
# Gain value integers
7879
gain_values = {

0 commit comments

Comments
 (0)