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
embedded_graphics::draw_target::DrawTarget
.
You must flush the framebuffer with MemoryDisplay::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.
Structs§
Constants§
- MODE
- Mode to configure the SPI device in in order to communicate with the display.