Finally, I finished U8glib V2, now called U8g2.
What is u8g2?
- Graphics library for many different monochrome OLEDs and LCDs
- Supported display controller: SSD1305, SSD1306, SSD1309, SSD1322, SSD1325, SSD1327, SSD1606, SH1106, T6963, RA8835, LC7981, PCD8544, PCF8812, UC1604, UC1608, UC1610, UC1611, UC1701, ST7565, ST7567, NT7534, IST3020, ST7920, LD7032, KS0108
- Powerful text and graphics commands
- More than 700 fonts available
Installation
- … via Arduino IDE library manager (search for “u8g2”).
What are the most important advantages compared to U8glib V1?
- Full “RAM” memory buffer without picture loop (u8glib picture loop still supported).
- Arduino SPI and TWI Libraries instead of custom code. This will make u8g2 much more portable.
- Successfully tested with AVR, SAM and ESP8266 boards.
- Support for Unicode and UTF-8: Unicode chars appear on the display as written in the Arduino IDE.
- Faster compilation.
- High speed text only API (U8x8).
- Hardware 180 degree rotation for some displays available.
- Compressed font format.
- Button debounce event handler included.
- 90% compatible with U8glib.
Limitations
- Still support for some display controller is missing compared to U8glib V1
Links
Oliver
Edit: Updated list of supported controllers and font count.
Edit: Updated list of supported controllers (v2.9.1)
Edit: Updated list of supported controllers (v2.12.6)