Skip to content

Commit 22fe497

Browse files
committed
Added hex comment for reference
1 parent 1566ffd commit 22fe497

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

adafruit_tsl2591.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@
6969
_TSL2591_LUX_COEFB = 1.64
7070
_TSL2591_LUX_COEFC = 0.59
7171
_TSL2591_LUX_COEFD = 0.86
72-
_TSL2591_MAX_COUNT_100MS = const(36863)
73-
_TSL2591_MAX_COUNT = const(65535)
72+
_TSL2591_MAX_COUNT_100MS = const(36863) # 0x8FFF
73+
_TSL2591_MAX_COUNT = const(65535) # 0xFFFF
7474

7575
# User-facing constants:
7676
GAIN_LOW = 0x00 # low gain (1x)

0 commit comments

Comments
 (0)