Code for this is attached in the same repo with name "code.ino". It was run on Arduino IDE Diving into learning various sensors, I came across LDR sensor. It is basically a variable resistor which ...