Demonstration of the read-luminosity node. This node is useful if you are only interested in the raw data from the sensor. Run patch in debugger.
Test of lux meter. Run in debugger and use tweak-byte nodes to change gain and integration time settings on the fly.
Get gain of sensor.
Get integration time of sensor.
Combines lower level nodes to creat a lux meter.
Read luminosity (raw count) of full spectrum (visible and IR) and IR component. Subtract IR from FULL to get luminosity of visible light.
Read lux and raw luminosity measurements.
Set sensor gain.
Set sensor integration time.
Create a tsl2591-device.