This tutorial contains information for working of LDR. You can use LDR by connecting it to Linkit One's +5 volt and A0 or A1 pins then read the values of them and then use them in your projects.
> Linkit One( and Linkit One SDK installed in your laptop or computer )
> Linkit One's USB Cable
Connect LDR's one terminal to +5V of Linkit one and another terminal to A0. Upload this code .
Now open serial monitor to see the value. Now you can use this value as desired by you.