Skip to content

Commit 1566ffd

Browse files
committed
Moving constants to the same represenation to reflect the datasheet and allow for "copy/search" within it.
1 parent 5e31d3b commit 1566ffd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_tsl2591.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
_TSL2591_LUX_COEFC = 0.59
7171
_TSL2591_LUX_COEFD = 0.86
7272
_TSL2591_MAX_COUNT_100MS = const(36863)
73-
_TSL2591_MAX_COUNT = const(0xFFFF)
73+
_TSL2591_MAX_COUNT = const(65535)
7474

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

0 commit comments

Comments
 (0)