#async-await #async #await #future #api #st7735

no-std st7735-async-low

Low-level async library for 4-wire serial ST7735

2 releases

0.0.2 Apr 14, 2021
0.0.1 Apr 14, 2021

#1896 in Asynchronous

Apache-2.0

48KB
934 lines

A low-level async library for ST7735 LCD in Rust

Disclaimer: This is not an officially supported Google product.

This is a low-level library to implement ST7735 commands as close as their original forms but in the style of Rust's "async/await" paradigm.

How to use

An example is at the examples/stm32f3348_disco directory. In general, the user should implement the traits under crate::spi with their MCU, then wrap the implementation with crate::Commands, which provides the ST7735 commands in their original names, as defined in the datasheet.

TODO: Add commandline-level instruction after the project is published to crates.io.


lib.rs:

This crates aims to provide the native ST7735 commands in their original form, thus is a low-level library.

A user of this crate should implement the write traits in crate::spi, then wrap it with Commands to use the commands. An example can be found at the examples/stm32f3348_disco directory of the crate.

Dependencies