int ldr; void setup() { Serial.begin(9600); } void loop() { ldr = analogRead(A1); Serial.print(ldr); delay(50); }