Crate st7920

source ·
Expand description

§ST7920

This is a Rust driver library for LCD displays using the ST7920 controller.

It supports graphics mode of the controller, 128x64 in 1bpp. SPI connection to MCU is supported.

The controller supports 1 bit-per-pixel displays, so an off-screen buffer has to be used to provide random access to pixels.

Size of the buffer is 1024 bytes.

The buffer has to be flushed to update the display after a group of draw calls has been completed. The flush is not part of embedded-graphics API.

Structs§

Enums§

Constants§