Skip to main content

Arduino U8glib: how to display text?

Hello I have a nokiaNokia 5110 screen using u8gliv. I have it displaying an image and I can get it to display text: u8g.setFont(u8g_font_osb18); u8g.drawStr(0, 20, "PRESS START");

   u8g.setFont(u8g_font_osb18);
   u8g.drawStr(0, 20, "PRESS START");

The problem is that this font size is way totoo big. How can I make it smaller or do? Do I have to use different fonts, if? If so how do I do that?

Arduino U8glib how to display text

Hello I have a nokia 5110 screen using u8gliv I have it displaying an image and I can get it to display text: u8g.setFont(u8g_font_osb18); u8g.drawStr(0, 20, "PRESS START");

The problem is that this font size is way to big. How can I make it smaller or do I have to use different fonts, if so how do I do that?

Arduino U8glib: how to display text?

I have a Nokia 5110 screen using u8gliv. I have it displaying an image and I can get it to display text:

   u8g.setFont(u8g_font_osb18);
   u8g.drawStr(0, 20, "PRESS START");

The problem is that this font size is way too big. How can I make it smaller? Do I have to use different fonts? If so how do I do that?

Source Link
user2279603
  • 157
  • 3
  • 7
  • 19

Arduino U8glib how to display text

Hello I have a nokia 5110 screen using u8gliv I have it displaying an image and I can get it to display text: u8g.setFont(u8g_font_osb18); u8g.drawStr(0, 20, "PRESS START");

The problem is that this font size is way to big. How can I make it smaller or do I have to use different fonts, if so how do I do that?