I wanted to get the basic photoresistor sensor to work, but had a hard time with this one. At first, I had not wired my LED correctly to ground and after fixing that, the LED lit up; however, when I covered the photoresistor with my finger, the LED did not dim.
But it turns out it needs to be super dark in order for it to dim a lot since it is very sensitive to ambient light. I put a black glove over the photoresistor and it dimmed a good bit, took a reading and then removed the glove, allowing the LED to glow brightly and took a much higher reading. Video included below the code.
Is this a good/useful/informative piece of content to include in the project? Have your say!