You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Arduino IDE version (found in Arduino -> About Arduino menu): 1.8.16
List the steps to reproduce the problem below:
In dark conditions a call to apds.calculateLux inverts values and returns values at or near 65534.
You can reproduced this via:
uint16_t lux = apds.calculateLux(r, g, b); or uint32_t lux = apds.calculateLux(r, g, b);
This is a straightforward fix and I can make a pull request if this repo is still being maintained.
The text was updated successfully, but these errors were encountered:
Arduino board: ESP32
Arduino IDE version (found in Arduino -> About Arduino menu): 1.8.16
List the steps to reproduce the problem below:
In dark conditions a call to apds.calculateLux inverts values and returns values at or near 65534.
You can reproduced this via:
uint16_t lux = apds.calculateLux(r, g, b); or uint32_t lux = apds.calculateLux(r, g, b);
This is a straightforward fix and I can make a pull request if this repo is still being maintained.
The text was updated successfully, but these errors were encountered: