I'm using a 16x4 LCD screen with an Arduino Mega. I've been using it for a school project for the last couple of semesters, the screen works fine for a while and then I move a while for something else on the board and the screen gets all mess up.
Yesterday, I moved the circuit to a new board and now the characters display in the right location, but they characters are all weird - I have included a picture. It's supposed to say
00:00 % increments with the Arduino's internal clock, millis() %
touch counter % increments in response to feedback %
Like I said above, from what I can tell, the clock is working, and the display puts the numbers in the correct spot, but the characters are all messed up and I can't figure out why these vertical lines are popping up. Any suggestions as to what pin I should be trying to troubleshoot to fix this?
I believe the code should be OK, since I've had it working for about a year. I'm pretty sure there is a problem with the circuit, but I don't know which wire would be controlling my issue since everything on the screen looks like it's lined up.
EDIT: Looks like the conclusion was that my screen was broken and needed to be replaced. I ordered another 1604 LCD on ebay. Feel free to make more suggestions on decent places to buy these screens.
_402ProjectCode.ino (5.83 KB)