Expand description

Embedded Graphics FrameBuffer

embedded-graphics-framebuf is a generalized frame buffer implementation for use with Rust’s embedded-graphics library.

Framebuffer approach helps to deal with display flickering when you update multiple parts of the display in separate operations. Instead, with this approach, you’re going to write to a in-memory display and push it all at once into your hardware display when the whole picture is drawn.

This technique is useful when you’re updating large portions of screen or just simply don’t want to deal with partial display updates.

The approach has been tested on TTGO (esp32) with ST7789

Structs

Constructs frame buffer in memory. Lets you define the size (width & height) and pixel type your using in your display (RGB, Monochrome etc.)

Gives you ability to convert the FrameBuf data into an iterator. This is commonly used when iterating over pixels in order to send the pixel data into the hardware display.