Sensing The Surrounding’s Light using LDR :(value 0 -1023):
- 0 -------------Light Intensity Lower
- 1023 --------Light Intensity Higher
- High Intensity outside (~1023) -----Bulb with low intensity (~0)
- Low Intensity Outside (~0)-----Bulb with high intensity (~255)
- PWM Signal to LED (Bulb) (Value 0-255)