Skip to content

Commit e67e315

Browse files
committed
Flip the integration time scaling values to match the fact that I'm now multiplying them.
1 parent 34e3f3b commit e67e315

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Adafruit_TSL2561/Adafruit_TSL2561.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ def __init__(self, channel):
2929
class _integrationTime:
3030
_DATA = {
3131
# time bits scale max
32-
13: [ 13.7, 0x00, 11.0/322.0, 5047],
33-
101: [101, 0x01, 81.0/322.0, 37177],
32+
13: [ 13.7, 0x00, 322.0/ 11.0, 5047],
33+
101: [101, 0x01, 322.0/ 81.0, 37177],
3434
402: [402, 0x02, 322.0/322.0, 65535],
3535
}
3636
def __init__(self, time):

0 commit comments

Comments
 (0)