olikraus / u8glib

Arduino Monochrom Graphics Library for LCDs and OLEDs
https://github.com/olikraus/u8glib/wiki
Other
1.25k stars 314 forks source link

Multiple font type do artefact display #384

Open monpoulet opened 8 years ago

monpoulet commented 8 years ago

Hello Olikraus,

First, congratulations for your marvelous library, it works like a charm on my 128x64 LCD from SainSmart. I have a small issue: when I am using my code with arduino to display values from sensors, everything is fine, if I am using only one font type, in my case: u8g_font_6x12 When I want to use a bigger font (u8g_font_10x20 or u8g_font_helvB12) to display only 2 computed values of sensors (20.95 and 70.78, for ex.), some artefecats are appearing when the screen is refreshing ! I mean, value numbers are not well drawed when value change as the static text is correct. I have tried to increase the refresh rate, but it does not work. I am using the following setting: U8GLIB_ST7920_128X64_4X u8g(2, 10, 7);

Do you have an idea, how to fix it ?

Marc

olikraus commented 8 years ago

Sounds like a software issue with the picture loop. Maybe try to place the SetFont command just before the print command.