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

#471 in Hardware support

Download history 965/week @ 2023-12-13 689/week @ 2023-12-20 787/week @ 2023-12-27 910/week @ 2024-01-03 1107/week @ 2024-01-10 1188/week @ 2024-01-17 1199/week @ 2024-01-24 1269/week @ 2024-01-31 1432/week @ 2024-02-07 980/week @ 2024-02-14 1475/week @ 2024-02-21 1622/week @ 2024-02-28 1477/week @ 2024-03-06 1673/week @ 2024-03-13 1539/week @ 2024-03-20 1548/week @ 2024-03-27

6,566 downloads per month
Used in 5 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