Sample
Read the light sensor at a regular interval so changes can be observed.
A breadboard prototype that gathers light, temperature, and humidity readings and turns them into clear LCD feedback.
Read the light sensor at a regular interval so changes can be observed.
Pair the light value with temperature and humidity measurements.
Present the readings on the LCD instead of leaving them only in a serial log.
int photoPin = A0;
void loop() {
int light = analogRead(photoPin);
Serial.println(light);
delay(1000);
}