Newhaven Display Forum
Newhaven Products => Character LCDs => Topic started by: whAtlGa on July 06, 2016, 09:40:04 PM
-
I probably missed something in the data sheet or in the set up. Every time I have more that 16 characters on a line I get a symbol at the start of the line that looks like a cross or character 0x11 shown on page 10 of the data sheet. Happens on both the 1st line and 2nd line.
Update: After trying different lengths I get character 0x10 at 16 characters and it increases by one the longer the line goes. The text I send is displayed correctly there is just this extra character at the beginning of the line.
-
Would it be possible to share the portion of the code where you are sending the characters?
At many times random characters may appear when there is a timing issue. How fast are you writing to the display, and are you allowing a delay after every command?
-
That does seem to be the case. The configuration went to the module a byte at the time but the text was handled with block writes. I changed them to this
for x in range (0,len(Line1)):
bus.write_byte_data(LCD,0x40,Line1
That resolved the issue.
Thank you for your assistance.
-
Glad to see you have it working properly. 8)