Electronic – dimming led with photoresistor

ledphotoresistorresistance

I want to dim a led in a circuit if there's less light.
However, the Photoresistor I'm working with reduces the resistance when there's more light.
How can I achieve the opposite effect on resistance ?

Best Answer

I believe this method using a transistor should work well for you.

http://electronicsclub.info/transistorcircuits.htm#sensors

enter image description here