If light falls below x LUX, Activate LEDs

I bought my very first Arduino Uno today with my first project in mind. If the light in a room falls below, lets say... 10 LUX, it should activate the LEDs. How would i go about doing this. I have the photo sensor and the LEDs. I have some Idea, i just dont know how to call out the photo sensor in the code and all that.

Many thanks, Mitch.

There are many different kinds of photo sensor - do you have a link to the datasheet for the one you are using?

MarkT:
There are many different kinds of photo sensor - do you have a link to the datasheet for the one you are using?

Its this one Photo cell (CdS photoresistor) : ID 161 : Adafruit Industries, Unique & fun DIY electronics and kits

There is a pretty extensive Photocell tutorial link on that same product page. Probably far more detailed we could give you in a forum post.

Try working through that tutorial and ask questions based on that work.

ok thanks.