Been through every tutorial and message board I can find but have not been able to work this out. Any help appreciated with troubleshooting.
Simple set up, taken wiring apart and rebuilt many times. Reflowed all solder joints on LCD twice.
Background: Arduino Uno running Hello World to LCD 16 x2. Backlight good, contrast on pot- good. Using the following pins LiquidCrystal lcd (11,12,5,4,3,2) but have tried several different combinations. My arduino has know bad digital pin 8. Ran quick program to push all pins high... other digital pins check good. Verified wiring via multiple tutorials. Using 4 wire lcd hookup to D4,5,6,7 on the lcd which connect to 5,4,3,2 on arduino. Moved the LCD on breadboard, no change.
Symptoms: Program executes the following line in setup:
lcd.print("abcdefghijklmop") // line added to trouble shoot character garble... and then in loop():
lcd.setCursor(0,1); lcd.print(millis()/1000) //straight from Hello World program
The screen prints the following on line 0. "ijklmnohijklmnox" //seem to be a direct offset and some kind of repeat. On the second line is garble but I can see two of the digits(10 characters from start) counting with occasional numbers 8,9, rollover back to garbled chars
And another symptom: if I add to loop() after print millis: delay(3000); lcd.clear(); delay(3000);
The display will clear and nothing comes back. I also added a Serial print to the loop and it reports out on time showing the loop is running normally.