We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
python-tsl2591/tsl2591/read_tsl.py
Line 158 in 290ef84
Typo here: () missing time.sleep(0.120self.integration_time+1) # takes minimal 1 second + 0.120self.integration_time
You want: time.sleep(0.120*(self.integration_time+1))
Fastest working is: time.sleep(0.105+0.100*self.integration)
The text was updated successfully, but these errors were encountered:
Seconded! I use a local copy of this helpful repository and fixed it there but never reported here, sorry...
The initial clue for that comes form the official Adafruit driver and datasheet: https://github.com/adafruit/Adafruit_TSL2591_Library/blob/master/Adafruit_TSL2591.cpp#L316-L320 in combination with https://github.com/adafruit/Adafruit_TSL2591_Library/blob/master/Adafruit_TSL2591.h#L84
Sorry, something went wrong.
Update timing
a695de6
- fixes maxlklaxl#10
No branches or pull requests
python-tsl2591/tsl2591/read_tsl.py
Line 158 in 290ef84
Typo here: () missing
time.sleep(0.120self.integration_time+1) # takes minimal 1 second + 0.120self.integration_time
You want:
time.sleep(0.120*(self.integration_time+1))
Fastest working is:
time.sleep(0.105+0.100*self.integration)
The text was updated successfully, but these errors were encountered: