Hi,
I'm testing : DFROBOT LCD I2C + DF ROBOT Sensor Shield V2.4 + Arduino MEGA 2560 R3.
If i write a long string, on FC7 simulation is good :
On the target, there is a problem with the lines :
Is it a problem with the I2C LCD ? not similar that the generic one ?
Best regards
Yannick
Problem with LCD I2C
Moderator: Benj
- LeighM
- Matrix Staff
- Posts: 2178
- Joined: Tue Jan 17, 2012 10:07 am
- Has thanked: 481 times
- Been thanked: 699 times
- Contact:
Re: Problem with LCD I2C
Hi Yannick
The issue is to do with how the display controller maps its memory to the display.
What happens after your text runs to the end of the line is not the same with all controllers.
So it is best not to assume the text will automatically run onto the next visible line.
It is best to keep all your text string lengths to be less than or equal to the display character width.
Then use the cursor command to explicitly go to the next line.
Hope that explains it.
The issue is to do with how the display controller maps its memory to the display.
What happens after your text runs to the end of the line is not the same with all controllers.
So it is best not to assume the text will automatically run onto the next visible line.
It is best to keep all your text string lengths to be less than or equal to the display character width.
Then use the cursor command to explicitly go to the next line.
Hope that explains it.