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

#612 in Hardware support

Download history 2301/week @ 2024-07-21 1538/week @ 2024-07-28 2068/week @ 2024-08-04 1234/week @ 2024-08-11 729/week @ 2024-08-18 716/week @ 2024-08-25 1138/week @ 2024-09-01 251/week @ 2024-09-08 186/week @ 2024-09-15 258/week @ 2024-09-22 334/week @ 2024-09-29 172/week @ 2024-10-06 254/week @ 2024-10-13 319/week @ 2024-10-20 245/week @ 2024-10-27 239/week @ 2024-11-03

1,092 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