const int photoresistorPin = A0;
int sensorValue;
void setup() {
Serial.begin(9600);
pinMode(photoresistorPin, INPUT);
}
void loop() {
sensorValue = analogRead(photoresistorPin);
Serial.print("Sensor Value: ");
Serial.print(sensorValue);
delay(1000);
}