I use an LDR to measure the brightness in the room.
The LDR and voltage divider are finished and give me good values between 0 and 4095 (relatively dark and very bright).
The values are known to be non-linear. I do not need a perfect solution but a reasonably linear course of values.
I would like linear values of e.g. 0% -100% is enough to cover the sensor range. Does anyone know about the calculation (i currently dont have test values here)?