This example demonstrates how to use an LDR (Light Dependent Resistor) darkness LDR, the LED is turned on/off.