I was performing a project on light monitoring system but my sensor LDR is showing same value-5 throughout in the line graph.
LDR one leg to 5V second leg to A0 pin
an 330 OHM one leg to GND and another to A0.
INPUT DEVICE—A0 pin
CAN ANYONE TELL ME WHY IT IS HAPPENING?