Hello, this is mostly first a theoretic question about the sensor.
What im wondering is if, during runtime, is it possible to change the gain for calculating the lux according to their formula? (found here starting on row 602: SenseBoxMCU-Lib/SenseBoxMCU.cpp at master · sensebox/SenseBoxMCU-Lib · GitHub).
Why im asking this is because, if i hardcode the values ALS_GAIN[gain] and ALS_INT[integrationTime] and run 2 different values for them separate, they do show different lux values.
If im trying to change these values and the .setGain() during runtime, it does not change at all.
I printed out the values in Serial and they do change, but it doesnt seem to affect the calculation.
I would mostly love to know if this should work or not, as this is a bigger assignment im trying not to refer to actual code.