const int ldrPin = A0;
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
}
void loop() {
// put your main code here, to run repeatedly:
int ldrvalue = analogRead(ldrPin);
Serial.print("LDR Value :");
Serial.println(ldrvalue);
delay(2000);
}