Skip to content
New issue

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

TSL2561 (luxmeter) - wrong scaling factor? #1283

Closed
CzechUavGuy opened this issue Jan 28, 2017 · 2 comments
Closed

TSL2561 (luxmeter) - wrong scaling factor? #1283

CzechUavGuy opened this issue Jan 28, 2017 · 2 comments

Comments

@CzechUavGuy
Copy link
Contributor

I would like to report a bug concerning computation of lux from TSL2561 sensor. In file lib/light.js on line 330 and 331 there should not be scaling by 0x10, but 10. Found this by comparing too low results from Johnny Five vs standard Arduino TSL2561 example and verified it in the datasheet (https://cdn-shop.adafruit.com/datasheets/TSL2561.pdf , page 24).

@CzechUavGuy
Copy link
Contributor Author

See pull request #1284

@rwaldron
Copy link
Owner

Fixed and thanks for the patch! #1284

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants