lr_servo.write(lr_angle);//return to initial angle
delay(1000);
ud_servo.write(ud_angle);
delay(1000);
}
void loop() {
ServoAction(); //servo performs the action
read_light(); //read the light intensity of bh1750
read_dht11(); //read the value of temperature and humidity
LcdShowValue(); //Lcd shows the values of light intensity,
temperature and humidity
//serial monitor displays the resistance of the photoresistor and the
angle of servo
/*Serial.print(" L ");
Serial.print(L);
Serial.print(" R ");
Serial.print(R);
Serial.print(" U ");
Serial.print(U);