const int photoresistor1 = A0; // Analog input pin for the first photoresistor
const int photoresistor2 = A1; // Analog input pin for the second photoresistor
const int photoresistor3 = A2; // Analog input pin for the third photoresistor
void setup() {
Serial.begin(9600); // Initialize Serial Monitor at 9600 baud rate
}
void loop() {
int sensorValue1 = analogRead(photoresistor1); // Read analog value from the first photoresistor
int sensorValue2 = analogRead(photoresistor2); // Read analog value from the second photoresistor
int sensorValue3 = analogRead(photoresistor3); // Read analog value from the third photoresistor
// Print the raw analog values to the Serial Monitor
Serial.print("Photoresistor 1: ");
Serial.print(sensorValue1);
Serial.print("\tPhotoresistor 2: ");
Serial.print(sensorValue2);
Serial.print("\tPhotoresistor 3: ");
Serial.println(sensorValue3);
delay(500); // Add a small delay to avoid excessive readings
}