//YWROBOT //Compatible with the Arduino IDE 1.0 //Library version:1.1 #include #include LiquidCrystal_I2C lcd(0x27,20,4); // set the LCD address to 0x27 for a 16 chars and 2 line display int sensorValue = 0; int sensorPin = A0; void setup() { lcd.init(); // initialize the lcd lcd.backlight(); } void loop() { lcd.setCursor(1,0); lcd.print("Solar indicator" ); sensorValue = analogRead(sensorPin); lcd.setCursor(2,1); lcd.print(sensorValue ); delay(700); }