Skip to content

Commit a695de6

Browse files
committed
Update timing
- fixes maxlklaxl#10
1 parent e375e9e commit a695de6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tsl2591/read_tsl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ def disable(self):
177177
def get_full_luminosity(self):
178178
self.enable()
179179
# not sure if we need it "// Wait x ms for ADC to complete"
180-
time.sleep(0.120*self.integration_time+1)
180+
time.sleep(0.105+0.100*self.integration_time)
181181
full = self.bus.read_word_data(
182182
self.sendor_address, COMMAND_BIT | REGISTER_CHAN0_LOW
183183
)

0 commit comments

Comments
 (0)