This is a Rust driver library for ST7789 displays using embedded_graphics, embedded_hal, and no_std, no_alloc support.
v0.7
of this crate is the last release. mipidsi is a new generic driver that contains ST7789 support and should serve as a drop in replacement for this driver.
These features are enabled by default:
graphics
- embedded-graphics support: pulls in embedded-graphics dependencybatch
- batch-drawing optimization: pulls in heapless dependency and allocates 300 bytes for frame buffer in the driver
- Communications via SPI
- Tested with PineTime watch
- Hardware scrolling support
- Offscreen Buffering
The minimum supported Rust version for the st7789 driver is 1.51.0 or greater. Ensure you have the correct version of Rust installed, preferably through https://rustup.rs.