Overview of U8g2 and U8x8 libraries
masterU8g2 is a monochrome graphics library for embedded devices supporting a wide range of OLED and LCD controllers (e.g., SSD1306, SH1106, ST7920, etc.). The project provides two distinct libraries depending on your memory and feature requirements:
- U8g2: A full graphics library. It includes procedures for drawing lines, boxes, and circles, and supports a vast array of fonts with varying heights. Note that it requires microcontroller memory to maintain a buffer for rendering the display.
- U8x8: A text-only character device library. It is designed for extremely low-memory environments as it writes directly to the display without requiring a microcontroller buffer. It only supports fonts that fit within an 8x8 pixel grid.