Description
Putting it here more as a "does this make sense?" than anything.
I was testing the LTR329 out to replace the apds9960 sensor for my timelapse rig—the apds9960 being too fancy for a simple lux/light trigger—and I noticed that it returns negative values for the visible light reading in my not-so-dark-but-dimly-lit room ie. a 79 lux on the apds9960 is -20 on the LTR329 on default settings. Increasing the gain and exposure time just makes the negative number go up.
The reading comparisons don't really matter (different sensors and whatnot), but I'm trying to make sense of the negative reading. Peeking at the code, it does make sense (visIR - Infrared, noted below via the sample code), but it seems odd that the pure IR reading is higher than Visible + IR and, of course, a negative visible reading should mean I can't see anything... maybe. I'm not sure.
Visible + IR: 48
Infrared : 69
Visible : -21