Open mettworks opened 4 years ago
I think here's a problem:
//#6 - Calculate overflowing bits
overflow = __GLCD.Y % __GLCD_Screen_Line_Height;
I'm using this small test:
GLCD_SetFont(Font5x8,5,8,GLCD_Merge); GLCD_GotoXY(0,0); GLCD_PrintString("."); GLCD_GotoXY(0,10); GLCD_PrintString(".");
The data bytes showed wrong (printed on RS232):
data: 00000000 data: 00000110 data: 00000110 data: 00000000 data: 00000000 5 data: 00000000 data: 00000001 data: 00000001 data: 00000000 data: 00000000
If I'm using this code:
GLCD_SetFont(Font5x8,5,8,GLCD_Merge); GLCD_GotoXY(0,0); GLCD_PrintString("."); GLCD_GotoXY(0,8); // <-------- 10 changed to 8 GLCD_PrintString(".");
All works as expected, problem only occours if there's a gap between the lines.
André
I think I've got the problem found:
For my second ".", beginning at Y 10, are 2 lines for displaying needed. The code writes only 1 line and shifts the data.
I try to find later a solution.
Good night. ;-)
Hello! Could you find a solution? I have the same problem. Thanks
Hello,
I have a problem with the lib.
If I'm using the Font "Font5x8", the lines doesn't match (see photo). If I'm using the Font "Tahoma11x13" all is fine.
Any hints? I dont't have an Idea and testet another Lib, there's the small font ok but there's no rendering possible. :-(
André