//constants for the pins where sensors are plugged into. const int sensorPin = 15; int lightVal=0; // light reading void setup() { Serial.begin(115200); } void loop() { lightVal = analogRead(sensorPin); // read the current light levels Serial.println(lightVal); //Printing the values of }