const int LDR_PIN = 7;
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
}
void loop() {
// put your main code here, to run repeatedly:
int ldr_value = digitalRead(LDR_PIN);
Serial.print("LDR value: ");
Serial.println(ldr_value);
delay(1000);
}