Here is a video for it working. The button controls whether the system if on/off. When it is held down, the LED is turned on and the photo sensor will change the brightness of LED (lower lighting would lower the LED brightness). This is the code that controls it:
Content Rating
Is this a good/useful/informative piece of content to include in the project? Have your say!
You must login before you can post a comment. .