Closed goebish closed 11 years ago
I've merged in your separate pull request that you indicate resolves the issue. However I am not able to test it at this time as my unit appears to be broken.
Le 09/06/2013 03:23, claws a écrit :
I've merged in your separate pull request that you indicate resolves the issue. However I am not able to test it at this time as my unit appears to be broken.
— Reply to this email directly or view it on GitHub https://github.com/claws/BH1750/issues/1#issuecomment-19158995.
I made a mistake in my last commit and just made another pull request, sorry. I tested the code and it works.
For HIGH_RES_MODE_2 modes the correct formula is: level = (level / 1.2) / 2