Crate weact_studio_epd

Source
Expand description

§weact-studio-epd

Unofficial Rust driver for WeAct Studio e-paper displays.

The driver exposes both write access to the screen frame buffers and higher-level embedded-graphics support.

By default this driver uses async. If you prefer to use a blocking API instead you can enable the blocking feature.

§Supported displays

DisplayColorsSupportedPartial update1Fast refresh2Tested
WeAct 1.54 inch 200x200 B/WBlack, White
WeAct 2.13 inch 122x250 B/WBlack, White
WeAct 2.13 inch 122x250 B/W/RBlack, White, Red
WeAct 2.9 inch 128x296 B/WBlack, White
WeAct 2.9 inch 128x296 B/W/RBlack, White, Red
WeAct 4.2 inch 400x300 B/WBlack, White

§Examples

See the examples folder for complete usage examples.

§Features

  • blocking: Replaces the API with a blocking version. This disables the async API so you cannot use both in the same project.
  • graphics: Enables embedded-graphics support. Enabled by default.

§Credits

This driver is based on the following crates:

§License

This crate is licenced under:


  1. Allows updating part of the screen buffer to save IO time and potentially memory. 

  2. Refresh the screen without flickering the screen a few times. 

Modules§

graphicsgraphics
embedded-graphics support.

Structs§

DisplayDriver
The main driver struct that manages the communication with the display.

Enums§

Color
Color definition for B/W displays
TriColor
Color for tri-color displays

Type Aliases§

Result
Alias for Result<T, DisplayError>.
WeActStudio213BlackWhiteDriver
Display driver for the WeAct Studio 2.13 inch B/W display.
WeActStudio213TriColorDriver
Display driver for the WeAct Studio 2.13 inch Tri-Color display.
WeActStudio290BlackWhiteDriver
Display driver for the WeAct Studio 2.9 inch B/W display.
WeActStudio290TriColorDriver
Display driver for the WeAct Studio 2.9 inch Tri-Color display.