Text (mini font) (fb_txt_mini)¶
What it does: Draws text in a small font (minifont) at the specified framebuffer coordinates.

Inputs¶
text: value of type Text.px: X coordinate of the upper left corner - integer.py: Y coordinate of the upper left corner - integer.color: Color (0 - black, 1 - white).
Output¶
- None (statement block).
When to use it¶
- When you need to fit more text on a small OLED.
- For small axis labels, units or line status.
Tips and pitfalls¶
- Block requires library
minifont(generator addsimport minifont). - Like other drawing, writes to framebuffer first, so
oded_refreshis required.
Usage example¶

Generated Python example¶
minifont.mini_text(fbuf, str(text), int(0), int(0), int(0))