rpi_framebuffer/ | Any Raspberry Pi display on /dev/fb0; first hardware a Pi 4 with the Touch Display 2 (720×1280, RGB565) | The framebuffer surface in one use: size, depth, format, and scale from sysfs, the console detached, a USB keyboard found and found again, the app restarted when it quits, rotate: for the stand. The app is a two-tab dashboard: a Viewport3D object and a colour photo as pixel regions, and a keyboard test. It also runs in a terminal (RpiFramebuffer.run/0), and its tests drive the surface against a fake sysfs. |
e_ink/ | 400×300 1-bit e-ink, the Goatmire name badge | Session, without a surface. The badge's own screen process runs each app with RasterExRatatui.Session, folds its renders into a kept gray8 frame so one slow refresh shows the latest one, and draws a crash frame when the app dies. Two GPIO buttons become ExRatatui.Event.Key events. The folder is a guide to the code, which lives in a pull request on a fork of the badge firmware. |