<alp/display.h> — Display Subsystem
Raw display control. For widget-level UIs use <alp/gui.h> (LVGL).
Header
#include <alp/display.h>
Quick example
alp_display_t *disp = alp_display_open(&(alp_display_config_t){
.panel = ALP_DISPLAY_PANEL_SSD1306,
});
alp_display_clear(disp);
alp_display_print(disp, /* x */ 0, /* y */ 0, "Hello");
alp_display_flush(disp);
alp_display_close(disp);
Supported panels
Driver chips supported out of the box:
- SSD1306 — monochrome 128×64 OLED (E1M EVK)
- SSD1331 — small colour OLED (E1M EVK)
- SSD1683 / UC8175 — e-paper (v0.3+)
- ST7789 / ILI9341 — small TFT (v0.3+)
All are opt-in via board.yaml's chips: array.
See also
<alp/gui.h>— LVGL re-export- Chip catalogue —
ssd1306,ssd1331
Questions about this page? Discuss in Community Forum