0PricingLogin
Arduino & IoT Academy · Lesson

Draw Text in Multiple Sizes

Print labels and values at different scales.

Text Is Just Pixels

The OLED has no letters built in. The GFX library paints each character as a tiny pattern of pixels, so you control exactly how text looks. ✍️

Pick a Text Color

On a monochrome OLED, color means on or off. Call setTextColor with WHITE so your letters light up against the dark background.

display.setTextColor(WHITE);

All lessons in this course

  1. Wire & Init an SSD1306 OLED
  2. Draw Text in Multiple Sizes
  3. Lines, Rectangles & Circles
  4. Animate a Bar Graph
← Back to Arduino & IoT Academy