const int LDR_PIN = A0;

void setup() {
  Serial.begin(9600);
}

void loop() {
  int ldr_value = analogRead(LDR_PIN);
  Serial.print("LDR value: ");
  Serial.println(ldr_value);
  delay(1000); // wait for 1 second before reading again
}