LDR reading to lux conversion.

Why are you converting to lux. In fact why convert anything when you can use the sensor value directly.

Mark