I'm not experienced, so I dont know any of the fancy terms that I should know. I'm just a high school student trying to get a good grade on my project. And I've been struggling with my 20x4 lcd display. Most of it works, but there are two lines that run across the entire length of the screen where there are no pixels. I cant figure out the problem. Does anyone understand what I'm saying, and if so can anyone help me?
Welcome to the forum
Please post the full sketch that you are having problems with
Like I said, I don't know any of the terms. Do you mean the code?
he means that you have to post the code that u uploaded to your development board,
when you post code/program here use the code block to paste your code here
A photo of what you are writing about could be a huge help.
Does it make any difference if you press on the upper and lower edges of the display?
Hi @Cavim154
welcome to the arduino-forum.
Best thing is if you post a picture of the LCD showing the display in action
For posting pictures you have to
Get to trust level 1 by…
- Entering at least 5 topics
- Reading at least 30 posts
- Spend a total of 10 minutes reading posts
well a good grade in your project requires guess what? some learning and some effort.
This means all characters are still readable?
Do you think you get extra-points for polishing the display? I guess not. The most important thing is functionality.
Post your complete code like described here
Describe this.
There is a trim pot (the thing with a small screwdriver slot), try adjusting that. It is called the contrast control.
Do all the characters display properly? It is normal for each row to be separated by a pixel-height spacing that has no pixels (if you look closely, there is also a pixel-width horizontal spacing between each character).
I could give you some possible code examples for a LCD but less knowing exactly what you have and your objective it would be a waste. Less seeing your code I doubt anyone here can be of much help. It's a combination of your code and your exact hardware configuration.
Ron
Are you using the LiquidCrystal library?
If so have you used lcd.begin(20,4) to initialise the LCD correctly?
https://www.arduino.cc/reference/en/libraries/liquidcrystal/begin/
You need to tell the code what size LCD you have - maybe it thinks you only have 2 rows.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.