st7789

ST7789 TFT LCD driver with embedded-graphics support

15 releases

0.7.0 Aug 3, 2022
0.6.1 Jul 17, 2021
0.5.0 Jun 9, 2020
0.4.3 May 20, 2020
0.1.0 Mar 7, 2020

#1425 in Embedded development

Download history 1739/week @ 2024-06-10 1206/week @ 2024-06-17 1348/week @ 2024-06-24 1224/week @ 2024-07-01 1359/week @ 2024-07-08 1645/week @ 2024-07-15 2289/week @ 2024-07-22 1576/week @ 2024-07-29 2114/week @ 2024-08-05 1138/week @ 2024-08-12 747/week @ 2024-08-19 690/week @ 2024-08-26 1077/week @ 2024-09-02 253/week @ 2024-09-09 173/week @ 2024-09-16 295/week @ 2024-09-23

1,890 downloads per month
Used in 7 crates

MIT license

30KB
578 lines

st7789

This is a Rust driver library for ST7789 displays using embedded_graphics, embedded_hal, and no_std, no_alloc support.

ferris-demo

Deprecation warning

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.

Features

These features are enabled by default:

  • graphics - embedded-graphics support: pulls in embedded-graphics dependency
  • batch - batch-drawing optimization: pulls in heapless dependency and allocates 300 bytes for frame buffer in the driver

Status

  • Communications via SPI
  • Tested with PineTime watch
  • Hardware scrolling support
  • Offscreen Buffering

Changelog

Minimum supported Rust version

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.

Dependencies

~78–290KB