Crate sharp_memory_display
source · [−]Expand description
Support for SHARP memory-in-pixel display devices via embedded_graphics
.
Usage
Create a new MemoryDisplay
and simply use it as an embedded_graphics
[DrawTarget
].
You must flush the framebuffer with [flush_buffer
] for the buffer to be written to the
screen.
Please specify one of the supported displays via the Cargo feature
flag. This sets
appropriate buffer and target sizes for the device at compile time.