I an trying to connect a 16x2 LCD text module with Arduino and it continuously shows only the green backlight. My code is correct and my connections are also correct. I tried the same project on Proteus and it works fine.
Thanks for everyone issue is solved..i buy new LCD and everything is fine.
#include <LiquidCrystal.h>
LiquidCrystal lcd(1, 2, 4, 5, 6, 7);
void setup() {
lcd.begin(16,2);
}
void loop() {
lcd.print("Sanjeev");
delay(3000);
lcd.setCursor(2,1);
lcd.print("LCD is working");
delay(3000);
lcd.clear();
lcd.blink();
delay(4000);
lcd.setCursor(7,1);
delay(3000);
lcd.noBlink();
lcd.cursor();
delay(4000);
lcd.noCursor();
lcd.clear();
}