| Crates.io | st7920 |
| lib.rs | st7920 |
| version | 0.4.1 |
| created_at | 2019-10-11 14:08:49.857659+00 |
| updated_at | 2024-04-03 15:58:27.825206+00 |
| description | SPI driver for the ST7920 LCD display controller |
| homepage | |
| repository | https://github.com/wjakobczyk/st7920 |
| max_upload_size | |
| id | 171686 |
| size | 39,355 |
ST7920This 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.
It implements embedded-graphics driver API.
It is platform independent as it uses embedded-hal APIs to access hardware.
The examples are based on the stm32f4xx_hal implementation of embedded-hal.
See examples.
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.
This library is licensed under MIT license (LICENSE or http://opensource.org/licenses/MIT)