Interfacing a Light dependent resistor (LDR) with an Arduino UNO to check whether the environment is dim, dark, light, or bright, is a powerf