const int photoresistor1 = A0;
const int photoresistor2 = A1;
const int photoresistor3 = A2;
int sensorValue;
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
pinMode(photoresistor1, INPUT);
pinMode(photoresistor2, INPUT);
pinMode(photoresistor3, INPUT);
}
void loop() {
// put your main code here, to run repeatedly:
sensorValue = analogRead(photoresistor1);
Serial.print("Sensor Value 1: ");
Serial.print("----------------");
Serial.print(sensorValue);
delay(1000);
sensorValue = analogRead(photoresistor2);
Serial.print("Sensor Value 2: ");
Serial.print("----------------");
Serial.print(sensorValue);
delay(1000);
sensorValue = analogRead(photoresistor3);
Serial.print("Sensor Value 3: ");
Serial.print("----------------");
Serial.print(sensorValue);
delay(1000);
}