Adaptive LDR Arduino

I'm also thinking this. I'm thinking that as long as it got the required value, it will count regardless whether it has less light in the environment. I wish I could try this in the physical circuit to see what will happen