If you had just described your project more in the first place, we'd be getting there faster. Is there any more information you're holding back?
No that is all
When it is dark the value is 900 more or less, it starts to detect light at 800 and my last value is 260 when the less reaches the maximum or closer level